public interface PcepSrpObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepSrpObject.Builder
Builder interface with get and set functions to build SRP object.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<PcepValueType> |
getOptionalTlv()
Returns list of optional tlvs.
|
boolean |
getRFlag()
Returns R flag of SRP Object.
|
int |
getSrpID()
Returns SRP ID of SRP Object.
|
void |
setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
sets the optional TLvs.
|
void |
setRFlag(boolean bRFlag)
Sets R flag with specified value.
|
void |
setSrpID(int srpID)
Sets SRP ID with specified value.
|
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes the SRP Object into channel buffer.
|
int getSrpID()
void setSrpID(int srpID)
srpID - SRP ID of SRP Objectboolean getRFlag()
void setRFlag(boolean bRFlag)
bRFlag - R Flag of SRP Objectvoid setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
llOptionalTlv - list of optional tlvsLinkedList<PcepValueType> getOptionalTlv()
int write(org.jboss.netty.buffer.ChannelBuffer bb) throws PcepParseException
bb - channel bufferPcepParseException - when tlv is nullCopyright © 2015. All rights reserved.