public class PathSetupTypeTlv 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 |
|---|
PathSetupTypeTlv(byte pst)
Constructor to initialize pst.
|
PathSetupTypeTlv(int rawValue)
Constructor to initialize parameters for path setup type tlv.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getInt()
Returns parameters for path setup type tlv.
|
short |
getLength()
Returns the Length of PCEP Message.
|
byte |
getPst()
Returns the pst value.
|
short |
getType()
Returns the Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static PathSetupTypeTlv |
of(int raw)
Returns Object of path setup type tlv.
|
static PathSetupTypeTlv |
read(org.jboss.netty.buffer.ChannelBuffer c)
Returns the object of type PathSetupTypeTlv.
|
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 PathSetupTypeTlv(int rawValue)
rawValue - parameter for path setup type tlvpublic PathSetupTypeTlv(byte pst)
pst - PSTpublic static PathSetupTypeTlv of(int raw)
raw - parameter for path setup type tlvpublic PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic int getInt()
public byte getPst()
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 PathSetupTypeTlv read(org.jboss.netty.buffer.ChannelBuffer c)
c - is type Channel bufferCopyright © 2015. All rights reserved.