public class LabelRequestWFrameRelayLabelRange extends LabelRequest
l3PID, reserved
bytes, classNum, cType, length
Constructor and Description |
---|
LabelRequestWFrameRelayLabelRange(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.
|
LabelRequestWFrameRelayLabelRange(int DLI,
int minDLCI,
int maxDLCI,
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
|
int |
getDLI() |
int |
getMaxDLCI() |
int |
getMinDLCI() |
int |
getRes1() |
int |
getRes2() |
void |
setDLI(int dLI) |
void |
setMaxDLCI(int maxDLCI) |
void |
setMinDLCI(int minDLCI) |
void |
setRes1(int res1) |
void |
setRes2(int res2) |
getL3PID, getReserved, setL3PID, setReserved
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
public LabelRequestWFrameRelayLabelRange(int DLI, int minDLCI, int maxDLCI, int l3PID)
DLI
- DLCI Length Indicator. The number of bits in the DLCI. The
following values are supported:
Len DLCI bits
0 10
2 23minDLCI
- This 23-bit field specifies the lower bound of a block of Data
Link Connection Identifiers (DLCIs) that is supported on the
originating switch. The DLCI MUST be right justified in this
field and unused bits MUST be set to 0.
zero.maxDLCI
- This 23-bit field specifies the upper bound of a block of Data
Link Connection Identifiers (DLCIs) that is supported on the
originating switch. The DLCI MUST be right justified in this
field and unused bits MUST be set to 0.l3PID
- The identifier of the layer 3 protocol using this path. Standard Ethertype values are used.public LabelRequestWFrameRelayLabelRange(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
public int getDLI()
public void setDLI(int dLI)
public int getMinDLCI()
public void setMinDLCI(int minDLCI)
public int getRes1()
public void setRes1(int res1)
public int getRes2()
public void setRes2(int res2)
public int getMaxDLCI()
public void setMaxDLCI(int maxDLCI)
Copyright © 2016. All rights reserved.