public class LocalNodeDescriptorsTlv 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 |
|---|
LocalNodeDescriptorsTlv(List<PcepValueType> llNodeDescriptorSubTLVs)
Constructor to initialize llNodeDescriptorSubTLVs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
List<PcepValueType> |
getllNodeDescriptorSubTLVs()
Returns Linked List of tlvs.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static LocalNodeDescriptorsTlv |
of(List<PcepValueType> llNodeDescriptorSubTLVs)
Returns a new object of LocalNodeDescriptorsTLV.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c,
short hLength)
Reads the channel buffer and returns object of AutonomousSystemTlv.
|
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 LocalNodeDescriptorsTlv(List<PcepValueType> llNodeDescriptorSubTLVs)
llNodeDescriptorSubTLVs - List of PcepValueTypepublic static LocalNodeDescriptorsTlv of(List<PcepValueType> llNodeDescriptorSubTLVs)
llNodeDescriptorSubTLVs - linked list of Node Descriptor Sub TLVspublic List<PcepValueType> getllNodeDescriptorSubTLVs()
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 hLength) throws PcepParseException
c - input channel bufferhLength - length of subtlvs.PcepParseException - if mandatory fields are missing