public class StatefulIPv4LspIdentidiersTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
static short |
LENGTH |
protected static org.slf4j.Logger |
log |
static short |
TYPE |
static int |
VALUE_LENGTH |
| Constructor and Description |
|---|
StatefulIPv4LspIdentidiersTlv(int ipv4IngressAddress,
short lspId,
short tunnelId,
int extendedTunnelId,
int ipv4EgressAddress)
Constructor to initialize member variables.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getextendedTunnelId()
Returns extendedTunnelId.
|
int |
getIpv4EgressAddress()
Returns ipv4EgressAddress.
|
int |
getIpv4IngressAddress()
Returns ipv4IngressAddress.
|
short |
getLength()
Returns the Length of PCEP Message.
|
short |
getTunnelId()
Returns tunnel id.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static StatefulIPv4LspIdentidiersTlv |
of(int ipv4IngressAddress,
short lspId,
short tunnelId,
int extendedTunnelId,
int ipv4EgressAddress)
Creates object of StatefulIPv4LspIdentidiersTlv.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads the channel buffer and returns object of StatefulIPv4LspIdentidiersTlv.
|
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 int VALUE_LENGTH
public StatefulIPv4LspIdentidiersTlv(int ipv4IngressAddress,
short lspId,
short tunnelId,
int extendedTunnelId,
int ipv4EgressAddress)
ipv4IngressAddress - ingress ipv4 addresslspId - lsp idtunnelId - tunnel idextendedTunnelId - extended tunnel idipv4EgressAddress - egress ipv4 addresspublic static StatefulIPv4LspIdentidiersTlv of(int ipv4IngressAddress, short lspId, short tunnelId, int extendedTunnelId, int ipv4EgressAddress)
ipv4IngressAddress - ingress ipv4 addresslspId - lsp idtunnelId - tunnel idextendedTunnelId - extended tunnel idipv4EgressAddress - egress ipv4 addresspublic short getTunnelId()
public int getextendedTunnelId()
public PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic int getIpv4IngressAddress()
public int getIpv4EgressAddress()
public 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 PcepValueType read(org.jboss.netty.buffer.ChannelBuffer c)
c - of type channel bufferCopyright © 2015. All rights reserved.