| Package | Description |
|---|---|
| com.cloudhopper.smpp.pdu | |
| com.cloudhopper.smpp.util |
| Modifier and Type | Method and Description |
|---|---|
Tlv |
Pdu.getOptionalParameter(short tag)
Gets a TLV by tag.
|
Tlv |
Pdu.removeOptionalParameter(short tag)
Removes an optional parameter by tag.
|
Tlv |
Pdu.setOptionalParameter(Tlv tlv)
Sets an optional parameter by checking if the tag already exists in our
list of optional parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Tlv> |
Pdu.getOptionalParameters()
Gets the current list of optional parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Pdu.addOptionalParameter(Tlv tlv)
Adds an optional parameter to this PDU.
|
Tlv |
Pdu.setOptionalParameter(Tlv tlv)
Sets an optional parameter by checking if the tag already exists in our
list of optional parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static Tlv |
TlvUtil.createFixedLengthStringTlv(short tag,
String value,
int fixedLength)
Writes a fixed length String TLV with null bytes filling the remaining
part of the byte array.
|
static Tlv |
TlvUtil.createFixedLengthStringTlv(short tag,
String value,
int fixedLength,
String charsetName)
Writes a fixed length String TLV with null bytes filling the remaining
part of the byte array.
|
static Tlv |
TlvUtil.createNullTerminatedStringTlv(short tag,
String value)
Writes a variable length C-String (null terminated) TLV.
|
static Tlv |
TlvUtil.createNullTerminatedStringTlv(short tag,
String value,
String charsetName)
Writes a variable length C-String (null terminated) TLV.
|
static Tlv |
ChannelBufferUtil.readTlv(org.jboss.netty.buffer.ChannelBuffer buffer)
Reads a TLV from a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ChannelBufferUtil.writeTlv(org.jboss.netty.buffer.ChannelBuffer buffer,
Tlv tlv) |
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.