public interface PcepLspObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepLspObject.Builder
Builder interface with get and set functions to build LSP object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAFlag()
Returns A flag in LSP Object.
|
boolean |
getDFlag()
Returns D flag in LSP Object.
|
byte |
getOFlag()
Returns O flag in LSP Object.
|
LinkedList<PcepValueType> |
getOptionalTlv()
Returns list of Optional Tlvs in LSP Object.
|
int |
getPlspId()
Returns PlspId of LSP Object.
|
boolean |
getRFlag()
Returns R flag in LSP Object.
|
boolean |
getSFlag()
Returns S flag in LSP Object.
|
void |
setAFlag(boolean value)
Sets A flag with specified value.
|
void |
setDFlag(boolean value)
Sets D flag with specified value.
|
void |
setOFlag(byte value)
Sets O flag with specified value.
|
void |
setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
Sets list of Optional Tlvs in LSP Object.
|
void |
setPlspId(int value)
Sets PlspId with specified value.
|
void |
setRFlag(boolean value)
Sets R flag with specified value.
|
void |
setSFlag(boolean value)
Sets S flag with specified value.
|
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes the LSP Object into channel buffer.
|
int getPlspId()
void setPlspId(int value)
value - PlspIdbyte getOFlag()
void setOFlag(byte value)
value - O flagboolean getAFlag()
void setAFlag(boolean value)
value - A flagboolean getRFlag()
void setRFlag(boolean value)
value - R flagboolean getSFlag()
void setSFlag(boolean value)
value - S flagboolean getDFlag()
void setDFlag(boolean value)
value - D flagLinkedList<PcepValueType> getOptionalTlv()
void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
llOptionalTlv - list of Optional Tlvsint write(org.jboss.netty.buffer.ChannelBuffer bb) throws PcepParseException
bb - channel bufferPcepParseException - while writing LSP object into Channel Buffer.Copyright © 2015. All rights reserved.