|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodecControl
Define the transform method to be implemented by all the codec Controls
Method Summary | |
---|---|
int |
computeLength()
Compute the Control length |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Generate the PDU which contains the Control. |
ControlDecoder |
getDecoder()
Get the associated decoder |
Method Detail |
---|
java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws EncoderException
Control : 0x30 LL 0x04 LL type [0x01 0x01 criticality] [0x04 LL value]
buffer
- The encoded PDU
EncoderException
- If anything goes wrong.int computeLength()
Control : 0x30 L1 | +--> 0x04 L2 controlType [+--> 0x01 0x01 criticality] [+--> 0x04 L3 controlValue] Control length = Length(0x30) + length(L1) + Length(0x04) + Length(L2) + L2 [+ Length(0x01) + 1 + 1] [+ Length(0x04) + Length(L3) + L3]
ControlDecoder getDecoder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |