public class PcepFecObjectIPv6AdjacencyVer1 extends Object implements PcepFecObjectIPv6Adjacency
| Modifier and Type | Class and Description |
|---|---|
static class |
PcepFecObjectIPv6AdjacencyVer1.Builder
Builder class for PCEP fec object IPv6 Adjacency.
|
| Modifier and Type | Field and Description |
|---|---|
static byte |
FEC_OBJ_CLASS |
static short |
FEC_OBJ_MINIMUM_LENGTH |
static byte |
FEC_OBJ_TYPE |
static byte |
FEC_OBJECT_VERSION |
static int |
IPV6_ADDRESS_LENGTH |
protected static org.slf4j.Logger |
log |
static int |
MINIMUM_COMMON_HEADER_LENGTH |
| Constructor and Description |
|---|
PcepFecObjectIPv6AdjacencyVer1(PcepObjectHeader fecObjHeader,
byte[] localIPv6Address,
byte[] remoteIPv6Address)
Constructor to initialize parameters for PCEP fec object.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getLocalIPv6Address()
Returns Local IPv6Address of FEC Object.
|
byte[] |
getRemoteIPv6Address()
Returns Remote IPv6Address of FEC Object.
|
int |
getType()
Returns FEC Object type.
|
PcepVersion |
getVersion()
Returns PCEP Version of FEC Object.
|
static PcepFecObjectIPv6Adjacency |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads channel buffer and Returns object of PcepFecObjectIPv6Adjacency.
|
void |
seLocalIPv6Address(byte[] value)
Sets Local IPv6Address with specified value.
|
void |
seRemoteIPv6Address(byte[] value)
Sets Remote IPv6Address with specified value.
|
void |
setFecIpv4ObjHeader(PcepObjectHeader obj)
Sets Object Header.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Writes the FEC into channel buffer.
|
protected static final org.slf4j.Logger log
public static final byte FEC_OBJ_TYPE
public static final byte FEC_OBJ_CLASS
public static final byte FEC_OBJECT_VERSION
public static final short FEC_OBJ_MINIMUM_LENGTH
public static final int MINIMUM_COMMON_HEADER_LENGTH
public static final int IPV6_ADDRESS_LENGTH
public PcepFecObjectIPv6AdjacencyVer1(PcepObjectHeader fecObjHeader, byte[] localIPv6Address, byte[] remoteIPv6Address)
fecObjHeader - fec object headerlocalIPv6Address - local IPv6 addressremoteIPv6Address - remote IPv6 addresspublic void setFecIpv4ObjHeader(PcepObjectHeader obj)
obj - object headerpublic byte[] getLocalIPv6Address()
PcepFecObjectIPv6AdjacencygetLocalIPv6Address in interface PcepFecObjectIPv6Adjacencypublic void seLocalIPv6Address(byte[] value)
PcepFecObjectIPv6AdjacencyseLocalIPv6Address in interface PcepFecObjectIPv6Adjacencyvalue - Local IPv6Addresspublic byte[] getRemoteIPv6Address()
PcepFecObjectIPv6AdjacencygetRemoteIPv6Address in interface PcepFecObjectIPv6Adjacencypublic void seRemoteIPv6Address(byte[] value)
PcepFecObjectIPv6AdjacencyseRemoteIPv6Address in interface PcepFecObjectIPv6Adjacencyvalue - Remote IPv6Addresspublic static PcepFecObjectIPv6Adjacency read(org.jboss.netty.buffer.ChannelBuffer cb) throws PcepParseException
cb - of channel bufferPcepParseException - when fails tp read from channel bufferpublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
PcepFecObjectwrite in interface PcepFecObjectwrite in interface PcepFecObjectIPv6Adjacencycb - channel bufferPcepParseException - while writing FEC Object into Channel Buffer.public PcepVersion getVersion()
PcepFecObjectgetVersion in interface PcepFecObjectpublic int getType()
PcepFecObjectgetType in interface PcepFecObject