public class LinkLocalRemoteIdentifiersSubTlv 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 |
|---|
LinkLocalRemoteIdentifiersSubTlv(int iLinkLocalIdentifier,
int iLinkRemoteIdentifier)
Constructor to initialize iLinkLocalIdentifier , iLinkRemoteIdentifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
int |
getLinkLocalIdentifier()
Returns Link-Local-Identifier.
|
int |
getLinkRemoteIdentifier()
Returns Link-Remote-Identifier.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static LinkLocalRemoteIdentifiersSubTlv |
of(int iLinkLocalIdentifier,
int iLinkRemoteIdentifier)
Retruns an object of Link Local Remote Identifiers Tlv.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads the channel buffer and returns object of LinkLocalRemoteIdentifiersTlv.
|
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 LinkLocalRemoteIdentifiersSubTlv(int iLinkLocalIdentifier,
int iLinkRemoteIdentifier)
iLinkLocalIdentifier - Link Local identifieriLinkRemoteIdentifier - Link Remote identifierpublic static LinkLocalRemoteIdentifiersSubTlv of(int iLinkLocalIdentifier, int iLinkRemoteIdentifier)
iLinkLocalIdentifier - Link Local identifieriLinkRemoteIdentifier - Link Remote identifierpublic int getLinkLocalIdentifier()
public int getLinkRemoteIdentifier()
public PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic short getLength()
PcepValueTypegetLength in interface PcepValueTypepublic short getType()
PcepValueTypegetType in interface PcepValueTypepublic int write(org.jboss.netty.buffer.ChannelBuffer c)
PcepValueTypewrite in interface PcepValueTypec - of type channel bufferpublic static PcepValueType read(org.jboss.netty.buffer.ChannelBuffer c)
c - input channel buffer