public class TENodeAttributesTlv 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 |
|---|
TENodeAttributesTlv(LinkedList<PcepValueType> llNodeAttributesSubTLVs)
Constructor to initialize llNodeAttributesSubTLVs.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
LinkedList<PcepValueType> |
getllNodeAttributesSubTLVs()
Returns Node Attributes Sub-TLVs.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static TENodeAttributesTlv |
of(LinkedList<PcepValueType> llNodeAttributesSubTLVs)
Returns object of TENodeAttributesTlv.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c,
short hLength)
Reads the channel buffer and returns object of TENodeAttributesTlv.
|
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 TENodeAttributesTlv(LinkedList<PcepValueType> llNodeAttributesSubTLVs)
llNodeAttributesSubTLVs - linked list of Node Attributes Sub-TLVspublic static TENodeAttributesTlv of(LinkedList<PcepValueType> llNodeAttributesSubTLVs)
llNodeAttributesSubTLVs - LinkedList of PcepValueTypepublic LinkedList<PcepValueType> getllNodeAttributesSubTLVs()
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 - lengthPcepParseException - if mandatory fields are missingCopyright © 2015. All rights reserved.