public class PcepLabelRangeVer1 extends Object implements PcepLabelRange
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
PcepLabelRangeVer1()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<PcepLabelRangeObject> |
getLabelRangeList()
Returns list of PcepLabelRangeObject.
|
PcepSrpObject |
getSrpObject()
Returns object of PCEP SRP Object.
|
static PcepLabelRange |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads channel buffer and returns object of PcepLabelRange.
|
void |
setLabelRangeList(LinkedList<PcepLabelRangeObject> ll)
Sets list of PcepLabelRangeObject.
|
void |
setSrpObject(PcepSrpObject srpObject)
Sets PCEP SRP Object.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Write the byte stream of PcepLabelRange to channel buffer.
|
public PcepSrpObject getSrpObject()
PcepLabelRangegetSrpObject in interface PcepLabelRangepublic void setSrpObject(PcepSrpObject srpObject)
PcepLabelRangesetSrpObject in interface PcepLabelRangesrpObject - SRP object.public LinkedList<PcepLabelRangeObject> getLabelRangeList()
PcepLabelRangegetLabelRangeList in interface PcepLabelRangepublic void setLabelRangeList(LinkedList<PcepLabelRangeObject> ll)
PcepLabelRangesetLabelRangeList in interface PcepLabelRangell - Label Range Listpublic static PcepLabelRange read(org.jboss.netty.buffer.ChannelBuffer cb) throws PcepParseException
cb - of type channel buffer.PcepParseException - when fails to read from channel bufferpublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
PcepLabelRangewrite in interface PcepLabelRangecb - of type channel bufferPcepParseException - while writing LABEL RANGE into Channel Buffer.Copyright © 2015. All rights reserved.