public class GeneralizedLabelRequest extends LabelRequest
l3PID, reserved
bytes, classNum, cType, length
Constructor and Description |
---|
GeneralizedLabelRequest(byte[] bytes,
int offset)
Constructor to be used when a new Label Request With ATM Label Range Object wanted to be decoded from a received
message.
|
GeneralizedLabelRequest(int lspEncodingType,
int switchingType,
int gpid) |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
getL3PID, getReserved, setL3PID, setReserved
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
public GeneralizedLabelRequest(int lspEncodingType, int switchingType, int gpid)
public GeneralizedLabelRequest(byte[] bytes, int offset)
bytes
- offset
- public void encode() throws RSVPProtocolViolationException
RSVPElement
encode
in interface RSVPElement
encode
in class LabelRequest
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
decode
in class LabelRequest
RSVPProtocolViolationException
Copyright © 2016. All rights reserved.