public class RoutingUniverseTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
static short |
LENGTH |
protected static org.slf4j.Logger |
log |
static short |
TYPE |
| Constructor and Description |
|---|
RoutingUniverseTlv(long rawValue)
Constructor to initialize raw value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
long |
getLong()
Returns raw value as Identifier.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static RoutingUniverseTlv |
of(long raw)
Returns object of RoutingUniverseTLV.
|
static RoutingUniverseTlv |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads from channel buffer and returns object of RoutingUniverseTLV.
|
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 static final short LENGTH
public RoutingUniverseTlv(long rawValue)
rawValue - raw valuepublic static RoutingUniverseTlv of(long raw)
raw - valuepublic long getLong()
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 RoutingUniverseTlv read(org.jboss.netty.buffer.ChannelBuffer c)
c - input channel bufferCopyright © 2015. All rights reserved.