@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.systemId); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.systemId); ChannelBufferUtil.writeNullTerminatedString(buffer, this.password); ChannelBufferUtil.writeNullTerminatedString(buffer, this.systemType); buffer.writeByte(this.interfaceVersion); ChannelBufferUtil.writeAddress(buffer, this.addressRange); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.systemId); ChannelBufferUtil.writeNullTerminatedString(buffer, this.password); ChannelBufferUtil.writeNullTerminatedString(buffer, this.systemType); buffer.writeByte(this.interfaceVersion); ChannelBufferUtil.writeAddress(buffer, this.addressRange); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { // when this PDU was parsed, it's possible it was missing the messageId instead // of having a NULL messageId. If that's the case, the commandLength will be just // enough for the headers (and theoretically any optional TLVs). Don't try to // write the NULL byte for that case. // See special note in 4.4.2 of SMPP 3.4 spec if (!((buffer.writableBytes() == 0) && (this.messageId == null))) { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); } }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeNullTerminatedString(buffer, this.finalDate); buffer.writeByte(this.messageState); buffer.writeByte(this.errorCode); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.serviceType); ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); ChannelBufferUtil.writeAddress(buffer, this.destAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { // when this PDU was parsed, it's possible it was missing the messageId instead // of having a NULL messageId. If that's the case, the commandLength will be just // enough for the headers (and theoretically any optional TLVs). Don't try to // write the NULL byte for that case. // See special note in 4.4.2 of SMPP 3.4 spec if (!((buffer.writableBytes() == 0) && (this.messageId == null))) { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); } }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { // when this PDU was parsed, it's possible it was missing the messageId instead // of having a NULL messageId. If that's the case, the commandLength will be just // enough for the headers (and theoretically any optional TLVs). Don't try to // write the NULL byte for that case. // See special note in 4.4.2 of SMPP 3.4 spec if (!((buffer.writableBytes() == 0) && (this.messageId == null))) { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); } }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.serviceType); ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); ChannelBufferUtil.writeAddress(buffer, this.destAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeNullTerminatedString(buffer, this.finalDate); buffer.writeByte(this.messageState); buffer.writeByte(this.errorCode); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.serviceType); ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); ChannelBufferUtil.writeAddress(buffer, this.destAddress); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeNullTerminatedString(buffer, this.finalDate); buffer.writeByte(this.messageState); buffer.writeByte(this.errorCode); }
public void write(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { buffer.writeByte(this.ton); buffer.writeByte(this.npi); ChannelBufferUtil.writeNullTerminatedString(buffer, this.address); }
public void write(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { buffer.writeByte(this.ton); buffer.writeByte(this.npi); ChannelBufferUtil.writeNullTerminatedString(buffer, this.address); }
public void write(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { buffer.writeByte(this.ton); buffer.writeByte(this.npi); ChannelBufferUtil.writeNullTerminatedString(buffer, this.address); }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.messageId); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); ChannelBufferUtil.writeNullTerminatedString(buffer, this.scheduleDeliveryTime); ChannelBufferUtil.writeNullTerminatedString(buffer, this.validityPeriod); buffer.writeByte(this.registeredDelivery); buffer.writeByte(this.defaultMsgId); buffer.writeByte((byte)getShortMessageLength()); if (this.shortMessage != null) { buffer.writeBytes(this.shortMessage); } }
@Override public void writeBody(ChannelBuffer buffer) throws UnrecoverablePduException, RecoverablePduException { ChannelBufferUtil.writeNullTerminatedString(buffer, this.serviceType); ChannelBufferUtil.writeAddress(buffer, this.sourceAddress); ChannelBufferUtil.writeAddress(buffer, this.destAddress); buffer.writeByte(this.esmClass); buffer.writeByte(this.registeredDelivery); buffer.writeByte(this.dataCoding); }