|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsmpp.bean.OptionalParameters
public class OptionalParameters
Field Summary | |
---|---|
private static org.slf4j.Logger |
logger
|
Constructor Summary | |
---|---|
OptionalParameters()
|
Method Summary | ||
---|---|---|
static OptionalParameter |
deserialize(short tagCode,
byte[] content)
Deserialize all recognized tag code to OptionalParameter object. |
|
static
|
get(java.lang.Class<U> tagClass,
OptionalParameter[] parameters)
|
|
static OptionalParameter |
get(short tag,
OptionalParameter[] parameters)
|
|
static OptionalParameter.Short |
newSarMsgRefNum(int value)
Create SAR_MESSAGE_REF_NUM TLV instance. |
|
static OptionalParameter.Short |
newSarMsgRefNum(short value)
Create SAR_MESSAGE_REF_NUM TLV instance. |
|
static OptionalParameter.Byte |
newSarSegmentSeqnum(byte value)
Create SAR_SEGMENT_SEQNUM TLV instance. |
|
static OptionalParameter.Byte |
newSarSegmentSeqnum(int value)
Create SAR_SEGMENT_SEQNUM TLV instance. |
|
static OptionalParameter.Byte |
newSarTotalSegments(byte value)
Create SAR_TOTAL_SEGMENTS TLV instance. |
|
static OptionalParameter.Byte |
newSarTotalSegments(int value)
Create SAR_TOTAL_SEGMENTS TLV instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.slf4j.Logger logger
Constructor Detail |
---|
public OptionalParameters()
Method Detail |
---|
public static OptionalParameter.Short newSarMsgRefNum(short value)
value
- is the value.
public static OptionalParameter.Short newSarMsgRefNum(int value)
value
- is the value.
public static OptionalParameter.Byte newSarSegmentSeqnum(byte value)
value
- is the value.
public static OptionalParameter.Byte newSarSegmentSeqnum(int value)
value
- is the value.
public static OptionalParameter.Byte newSarTotalSegments(byte value)
value
- is the value.
public static OptionalParameter.Byte newSarTotalSegments(int value)
value
- is the value.
public static OptionalParameter deserialize(short tagCode, byte[] content)
OptionalParameter
object.
Unrecognized will be classified as OptionalParameter.COctetString
.
tagCode
- is the tag code.content
- is the content.
public static <U extends OptionalParameter> U get(java.lang.Class<U> tagClass, OptionalParameter[] parameters)
public static OptionalParameter get(short tag, OptionalParameter[] parameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |