| Modifier and Type | Field and Description |
|---|---|
static byte |
IPV6_LEN |
static byte |
ST_TYPE |
| Constructor and Description |
|---|
PcepNaiIpv6Adjacency(byte[] localIpv6,
byte[] remoteIpv6)
Constructor to initialize local ipv6 and remote ipv6.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte |
getType()
To get the ST type of the NAI information.
|
int |
hashCode() |
static PcepNaiIpv6Adjacency |
of(byte[] localIpv6Addr,
byte[] remoteIpv6Addr)
Creates object of PcepNaiIpv6Adjacency with local ipv6 address and remote ipv6 address.
|
static PcepNaiIpv6Adjacency |
read(org.jboss.netty.buffer.ChannelBuffer bb)
Reads from channel buffer and returns object of PcepNAIIpv6AdjacencyVer1.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
To write the object information to channelBuffer.
|
public static final byte ST_TYPE
public static final byte IPV6_LEN
public PcepNaiIpv6Adjacency(byte[] localIpv6,
byte[] remoteIpv6)
localIpv6 - local ipv6 addressremoteIpv6 - remote ipv6 addresspublic byte getType()
PcepNaipublic int write(org.jboss.netty.buffer.ChannelBuffer bb)
PcepNaipublic static PcepNaiIpv6Adjacency read(org.jboss.netty.buffer.ChannelBuffer bb)
bb - of type channel bufferpublic static PcepNaiIpv6Adjacency of(byte[] localIpv6Addr, byte[] remoteIpv6Addr)
localIpv6Addr - local ipv6 addressremoteIpv6Addr - remote ipv6 address