public class StatefulPceCapabilityTlv extends Object implements PcepValueType
| Modifier and Type | Field and Description |
|---|---|
static byte |
DFLAG_SET |
static byte |
IFLAG_SET |
static short |
LENGTH |
protected static org.slf4j.Logger |
log |
static int |
SET |
static byte |
SFLAG_SET |
static byte |
TFLAG_SET |
static short |
TYPE |
static byte |
UFLAG_SET |
| Constructor and Description |
|---|
StatefulPceCapabilityTlv(boolean bDFlag,
boolean bTFlag,
boolean bIFlag,
boolean bSFlag,
boolean bUFlag)
Constructor to initialize variables.
|
StatefulPceCapabilityTlv(int rawValue)
Constructor to initialize variables.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getDFlag()
Returns D-flag.
|
boolean |
getIFlag()
Returns I-flag.
|
int |
getInt()
Returns raw value Flags.
|
short |
getLength()
Returns the Length of PCEP Message.
|
boolean |
getSFlag()
Returns S-flag.
|
boolean |
getTFlag()
Returns T-flag.
|
short |
getType()
Returns the Type of PCEP Message.
|
boolean |
getUFlag()
Returns U-flag.
|
PcepVersion |
getVersion()
Returns the Version Of PCEP Message.
|
int |
hashCode() |
static StatefulPceCapabilityTlv |
of(int raw)
Returns object of StatefulPceCapabilityTlv.
|
static PcepValueType |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads from channel buffer and returns object of StatefulPceCapabilityTlv.
|
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 byte UFLAG_SET
public static final byte SFLAG_SET
public static final byte IFLAG_SET
public static final byte TFLAG_SET
public static final byte DFLAG_SET
public static final int SET
public StatefulPceCapabilityTlv(int rawValue)
rawValue - Flagspublic StatefulPceCapabilityTlv(boolean bDFlag,
boolean bTFlag,
boolean bIFlag,
boolean bSFlag,
boolean bUFlag)
bDFlag - D-flagbTFlag - T-flagbIFlag - I-flagbSFlag - S-flagbUFlag - U-flagpublic static StatefulPceCapabilityTlv of(int raw)
raw - value Flagspublic PcepVersion getVersion()
PcepValueTypegetVersion in interface PcepValueTypepublic boolean getDFlag()
public boolean getTFlag()
public boolean getIFlag()
public boolean getSFlag()
public boolean getUFlag()
public int getInt()
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 - input channel bufferCopyright © 2015. All rights reserved.