public class LabelRequest extends RSVPObject
Modifier and Type | Field and Description |
---|---|
protected int |
l3PID
Common L3PID field
|
protected int |
reserved
Common LabelRequest field;
|
bytes, classNum, cType, length
Constructor and Description |
---|
LabelRequest() |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
int |
getL3PID() |
int |
getReserved() |
void |
setL3PID(int l3pid) |
void |
setReserved(int reserved) |
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLength
protected int reserved
protected int l3PID
public void encode() throws RSVPProtocolViolationException
RSVPElement
encode
in interface RSVPElement
encode
in class RSVPObject
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
decode
in class RSVPObject
RSVPProtocolViolationException
public int getReserved()
public void setReserved(int reserved)
public int getL3PID()
public void setL3PID(int l3pid)
Copyright © 2016. All rights reserved.