public static class OptionalParameter.Short extends OptionalParameter
OptionalParameter.Byte, OptionalParameter.COctetString, OptionalParameter.Int, OptionalParameter.Null, OptionalParameter.OctetString, OptionalParameter.Short, OptionalParameter.Tagtag| Constructor and Description |
|---|
Short(OptionalParameter.Tag tag,
short value) |
Short(short tag,
byte[] value)
Construct the Short optional parameters with specified bytes value.
|
Short(short tag,
short value)
Construct the Short optional parameter with specified short value.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getValue() |
protected byte[] |
serializeValue() |
equals, hashCode, serializepublic Short(short tag,
short value)
tag - value - public Short(OptionalParameter.Tag tag, short value)
public Short(short tag,
byte[] value)
tag - is the tag.value - is the value.public short getValue()
protected byte[] serializeValue()
serializeValue in class OptionalParameter