| Modifier and Type | Field and Description |
|---|---|
static byte |
ST_TYPE |
| Constructor and Description |
|---|
PcepNaiIpv4Adjacency(int localIpv4,
int remoteIpv4)
Constructor to initialize variables.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getLocalIpv4Addr() |
int |
getRemoteIpv4Addr() |
byte |
getType()
To get the ST type of the NAI information.
|
int |
hashCode() |
static PcepNaiIpv4Adjacency |
of(int localIpv4Addr,
int remoteIpv4Addr)
Returns Object of Pcep nai Ipv4 Adjacency.
|
static PcepNaiIpv4Adjacency |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object of PcepNAIIpv4AdjacencyVer1.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
To write the object information to channelBuffer.
|
public static final byte ST_TYPE
public PcepNaiIpv4Adjacency(int localIpv4,
int remoteIpv4)
localIpv4 - local ipv4 addressremoteIpv4 - remote ipv4 addresspublic static PcepNaiIpv4Adjacency of(int localIpv4Addr, int remoteIpv4Addr)
localIpv4Addr - local ipv4 addressremoteIpv4Addr - remote ipv4 addresspublic byte getType()
PcepNaipublic int getLocalIpv4Addr()
public int getRemoteIpv4Addr()
public int write(org.jboss.netty.buffer.ChannelBuffer bb)
PcepNaipublic static PcepNaiIpv4Adjacency read(org.jboss.netty.buffer.ChannelBuffer cb)
cb - of channel buffer