public class SymbolicPathNameTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static short |
TYPE |
| Constructor and Description |
|---|
SymbolicPathNameTlv(byte[] rawValue)
Constructor to initialize raw Value.
|
SymbolicPathNameTlv(byte[] rawValue,
short hLength)
Constructor to initialize raw Value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
short |
getLength()
Returns the Length of PCEP Message.
|
short |
getType()
Returns the Type of PCEP Message.
|
byte[] |
getValue()
Returns Symbolic path name.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static SymbolicPathNameTlv |
of(byte[] raw,
short hLength)
Creates an object of SymbolicPathNameTlv.
|
static SymbolicPathNameTlv |
read(org.jboss.netty.buffer.ChannelBuffer c,
short hLength)
Reads channel buffer and returns object of SymbolicPathNameTlv.
|
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 SymbolicPathNameTlv(byte[] rawValue)
rawValue - Symbolic path namepublic SymbolicPathNameTlv(byte[] rawValue,
short hLength)
rawValue - Symbolic path namehLength - length of Symbolic path namepublic static SymbolicPathNameTlv of(byte[] raw, short hLength)
raw - Symbolic path namehLength - length of Symbolic path namepublic byte[] getValue()
public PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic 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 SymbolicPathNameTlv read(org.jboss.netty.buffer.ChannelBuffer c, short hLength)
c - of type channel bufferhLength - length of bytes to readCopyright © 2015. All rights reserved.