public class RemoteNodeDescriptorsTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
short |
hLength |
protected static org.slf4j.Logger |
log |
static int |
TLV_HEADER_LENGTH |
static short |
TYPE |
| Constructor and Description |
|---|
RemoteNodeDescriptorsTlv(List<PcepValueType> llRemoteTENodeDescriptorSubTLVs)
Constructor to initialize llRemoteTENodeDescriptorSubTLVs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
List<PcepValueType> |
getllRemoteTENodeDescriptorSubTLVs()
Returns Remote TE Node Descriptor Sub TLVs.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static RemoteNodeDescriptorsTlv |
of(List<PcepValueType> llRemoteTENodeDescriptorSubTLVs)
Returns object of Remote TE Node Descriptors TLV.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c,
short length)
Reads channel buffer and returns object of Remote TE Node Descriptors TLV.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer c)
Writes the byte Stream of PCEP Message to channel buffer.
|
protected static final org.slf4j.Logger log
public static final short TYPE
public short hLength
public static final int TLV_HEADER_LENGTH
public RemoteNodeDescriptorsTlv(List<PcepValueType> llRemoteTENodeDescriptorSubTLVs)
llRemoteTENodeDescriptorSubTLVs - List of PcepValueTypepublic static RemoteNodeDescriptorsTlv of(List<PcepValueType> llRemoteTENodeDescriptorSubTLVs)
llRemoteTENodeDescriptorSubTLVs - List of PcepValueTypepublic List<PcepValueType> getllRemoteTENodeDescriptorSubTLVs()
public PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic short getType()
PcepValueTypegetType in interface PcepValueTypepublic short getLength()
PcepValueTypegetLength in interface PcepValueTypepublic int write(org.jboss.netty.buffer.ChannelBuffer c)
PcepValueTypewrite in interface PcepValueTypec - of type channel bufferpublic static PcepValueType read(org.jboss.netty.buffer.ChannelBuffer c, short length) throws PcepParseException
c - input channel bufferlength - length of bufferPcepParseException - if mandatory fields are missing