public class NexthopIPv6addressTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
static NexthopIPv6addressTlv |
FULL_MASK |
static short |
LENGTH |
protected static org.slf4j.Logger |
log |
static NexthopIPv6addressTlv |
NO_MASK |
static NexthopIPv6addressTlv |
NONE |
static short |
TYPE |
static short |
VALUE_LENGTH |
| Constructor and Description |
|---|
NexthopIPv6addressTlv(byte[] rawValue)
Constructor to initialize IP address for next hop IPv6 address tlv.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getBytes()
Returns next hop IPv6 address.
|
short |
getLength()
Returns the Length of PCEP Message.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static NexthopIPv6addressTlv |
of(byte[] raw)
Creates next hop IPv6 address tlv.
|
static NexthopIPv6addressTlv |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads the channel buffer and returns object of NexthopIPv6addressTlv.
|
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 static final short VALUE_LENGTH
public static final NexthopIPv6addressTlv NONE
public static final NexthopIPv6addressTlv NO_MASK
public static final NexthopIPv6addressTlv FULL_MASK
public NexthopIPv6addressTlv(byte[] rawValue)
rawValue - value of Next hop ipAddresspublic static NexthopIPv6addressTlv of(byte[] raw)
raw - value of Next hop ipAddresspublic byte[] getBytes()
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 NexthopIPv6addressTlv read(org.jboss.netty.buffer.ChannelBuffer c)
c - type of channel buffer