public class LabelRequestWOLabelRange extends LabelRequest
l3PID, reservedbytes, classNum, cType, length| Constructor and Description |
|---|
LabelRequestWOLabelRange(byte[] bytes,
int offset)
Constructor to be used when a new Label Request Without Label Range Object wanted to be decoded from a received
message.
|
LabelRequestWOLabelRange(int l3PID)
Constructor to be used when a new Label Request Without Label Range Object
wanted to be attached to a new message
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
getL3PID, getReserved, setL3PID, setReserveddecodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthpublic LabelRequestWOLabelRange(int l3PID)
l3PID - The identifier of the layer 3 protocol using this path. Standard Ethertype values are used.public LabelRequestWOLabelRange(byte[] bytes,
int offset)
bytes - offset - public void encode()
throws RSVPProtocolViolationException
RSVPElementencode in interface RSVPElementencode in class LabelRequestRSVPProtocolViolationExceptionpublic void decode(byte[] bytes,
int offset)
throws RSVPProtocolViolationException
decode in class LabelRequestRSVPProtocolViolationExceptionCopyright © 2016. All rights reserved.