org.jsmpp.bean
Class OptionalParameter.Short
java.lang.Object
org.jsmpp.bean.OptionalParameter
org.jsmpp.bean.OptionalParameter.Short
- Enclosing class:
- OptionalParameter
public static class OptionalParameter.Short
- extends OptionalParameter
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
OptionalParameter.Short
public OptionalParameter.Short(short tag,
short value)
- Construct the Short optional parameter with specified short value.
- Parameters:
tag
- value
-
OptionalParameter.Short
public OptionalParameter.Short(OptionalParameter.Tag tag,
short value)
OptionalParameter.Short
public OptionalParameter.Short(short tag,
byte[] value)
- Construct the Short optional parameters with specified bytes value.
Only 2 bytes will be use as value.
- Parameters:
tag
- is the tag.value
- is the value.
getValue
public short getValue()
serializeValue
protected byte[] serializeValue()
- Specified by:
serializeValue
in class OptionalParameter