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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations