Search in sources :

Example 1 with LongMessageFrame

use of com.zx.sms.codec.cmpp.wap.LongMessageFrame in project SMSGate by Lihuanghe.

the class CmppDeliverRequestMessage method generateFrame.

@Override
public LongMessageFrame generateFrame() {
    LongMessageFrame frame = new LongMessageFrame();
    frame.setTppid(getTppid());
    frame.setTpudhi(getTpudhi());
    frame.setMsgfmt(getMsgfmt());
    frame.setMsgContentBytes(getMsgContentBytes());
    frame.setMsgLength((short) getMsgLength());
    frame.setSequence(getSequenceNo());
    return frame;
}
Also used : LongMessageFrame(com.zx.sms.codec.cmpp.wap.LongMessageFrame)

Example 2 with LongMessageFrame

use of com.zx.sms.codec.cmpp.wap.LongMessageFrame in project SMSGate by Lihuanghe.

the class CmppSubmitRequestMessage method generateFrame.

@Override
public LongMessageFrame generateFrame() {
    LongMessageFrame frame = new LongMessageFrame();
    frame.setTppid(getTppid());
    frame.setTpudhi(getTpudhi());
    frame.setMsgfmt(getMsgfmt());
    frame.setMsgContentBytes(getMsgContentBytes());
    frame.setMsgLength((short) getMsgLength());
    frame.setSequence(getSequenceNo());
    return frame;
}
Also used : LongMessageFrame(com.zx.sms.codec.cmpp.wap.LongMessageFrame)

Example 3 with LongMessageFrame

use of com.zx.sms.codec.cmpp.wap.LongMessageFrame in project SMSGate by Lihuanghe.

the class SgipDeliverRequestMessage method generateFrame.

@Override
public LongMessageFrame generateFrame() {
    LongMessageFrame frame = new LongMessageFrame();
    frame.setTppid(getTppid());
    frame.setTpudhi(getTpudhi());
    frame.setMsgfmt(getMsgfmt());
    frame.setMsgContentBytes(getMsgContentBytes());
    frame.setMsgLength((short) getMessagelength());
    frame.setSequence(getSequenceNo());
    return frame;
}
Also used : LongMessageFrame(com.zx.sms.codec.cmpp.wap.LongMessageFrame)

Example 4 with LongMessageFrame

use of com.zx.sms.codec.cmpp.wap.LongMessageFrame in project SMSGate by Lihuanghe.

the class SgipSubmitRequestMessage method generateFrame.

@Override
public LongMessageFrame generateFrame() {
    LongMessageFrame frame = new LongMessageFrame();
    frame.setTppid(getTppid());
    frame.setTpudhi(getTpudhi());
    frame.setMsgfmt(getMsgfmt());
    frame.setMsgContentBytes(getMsgContentBytes());
    frame.setMsgLength((short) getMessagelength());
    frame.setSequence(getSequenceNo());
    return frame;
}
Also used : LongMessageFrame(com.zx.sms.codec.cmpp.wap.LongMessageFrame)

Example 5 with LongMessageFrame

use of com.zx.sms.codec.cmpp.wap.LongMessageFrame in project SMSGate by Lihuanghe.

the class SMGPSubmitMessage method generateFrame.

@Override
public LongMessageFrame generateFrame() {
    LongMessageFrame frame = new LongMessageFrame();
    frame.setTppid(getTpPid());
    frame.setTpudhi(getTpUdhi());
    frame.setMsgfmt(getMsgFmt());
    frame.setMsgContentBytes(getBMsgContent());
    frame.setMsgLength((short) bMsgContent.length);
    frame.setSequence(getSequenceNo());
    return frame;
}
Also used : LongMessageFrame(com.zx.sms.codec.cmpp.wap.LongMessageFrame)

Aggregations

LongMessageFrame (com.zx.sms.codec.cmpp.wap.LongMessageFrame)9 BaseMessage (com.zx.sms.BaseMessage)1 LongSMSMessage (com.zx.sms.LongSMSMessage)1 EndpointConnector (com.zx.sms.connect.manager.EndpointConnector)1 Promise (io.netty.util.concurrent.Promise)1 ArrayList (java.util.ArrayList)1 Test (org.junit.Test)1 SmppSmsDcs (org.marre.sms.SmppSmsDcs)1 SmsMessage (org.marre.sms.SmsMessage)1 SmsTextMessage (org.marre.sms.SmsTextMessage)1