public interface PcepLabelObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepLabelObject.Builder
Builder interface with get and set functions to build Label object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLabel()
Returns Label from Label Object.
|
boolean |
getOFlag()
Returns O flag in Label Object.
|
LinkedList<PcepValueType> |
getOptionalTlv()
Returns list of Optional Tlvs.
|
void |
setLabel(int value)
Sets Label field in Label Object with specified value.
|
void |
setOFlag(boolean value)
Sets O flag in Label Object with specified value.
|
void |
setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
Sets Optional Tlvs in Label Object.
|
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes the Label Object into channel buffer.
|
boolean getOFlag()
void setOFlag(boolean value)
value - O flagint getLabel()
void setLabel(int value)
value - LabelLinkedList<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 LABEL object into Channel Buffer.