public class LabelRequestWATMLabelRange extends LabelRequest
l3PID, reserved
bytes, classNum, cType, length
Constructor and Description |
---|
LabelRequestWATMLabelRange(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.
|
LabelRequestWATMLabelRange(int m,
int minVPI,
int minVCI,
int maxVPI,
int maxVCI,
int l3PID)
Constructor to be used when a new Label Request With ATM 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, setReserved
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
public LabelRequestWATMLabelRange(int m, int minVPI, int minVCI, int maxVPI, int maxVCI, int l3PID)
m
- Setting this bit to one indicates that the node is capable of
merging in the data plane.minVPI
- This 12 bit field specifies the lower bound of a block of
Virtual Path Identifiers that is supported on the originating
switch. If the VPI is less than 12-bits it MUST be right
justified in this field and preceding bits MUST be set to zero.minVCI
- This 16 bit field specifies the lower bound of a block of
Virtual Connection Identifiers that is supported on the
originating switch. If the VCI is less than 16-bits it MUST be
right justified in this field and preceding bits MUST be set to
zero.maxVPI
- This 12 bit field specifies the upper bound of a block of
Virtual Path Identifiers that is supported on the originating
switch. If the VPI is less than 12-bits it MUST be right
justified in this field and preceding bits MUST be set to zero.maxVCI
- This 16 bit field specifies the upper bound of a block of
Virtual Connection Identifiers that is supported on the
originating switch. If the VCI is less than 16-bits it MUST be
right justified in this field and preceding bits MUST be set to
zero.l3PID
- The identifier of the layer 3 protocol using this path. Standard Ethertype values are used.public LabelRequestWATMLabelRange(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.