public class PcepMsgPathVer1 extends Object implements PcepMsgPath
| Modifier and Type | Class and Description |
|---|---|
static class |
PcepMsgPathVer1.Builder
Builder class for PCEP Message path.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
PcepMsgPathVer1()
constructor to initialize objects.
|
PcepMsgPathVer1(PcepEroObject eroObj,
PcepAttribute attrList)
constructor to initialize member variables.
|
| Modifier and Type | Method and Description |
|---|---|
PcepEroObject |
getEroObject()
Returns object of PcepEroObject.
|
PcepAttribute |
getPcepAttribute()
Returns object of PcepAttribute.
|
PcepMsgPath |
read(org.jboss.netty.buffer.ChannelBuffer cb)
reads ERO object and attribute list.
|
void |
setEroObject(PcepEroObject eroObj)
Sets PcepEroObject.
|
void |
setPcepAttribute(PcepAttribute attrList)
Sets PcepAttribute.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
writes ERO object and attribute list to channel.
|
public PcepMsgPathVer1()
public PcepMsgPathVer1(PcepEroObject eroObj, PcepAttribute attrList)
eroObj - pcep ero objectattrList - pcep attributepublic PcepEroObject getEroObject()
PcepMsgPathgetEroObject in interface PcepMsgPathpublic PcepAttribute getPcepAttribute()
PcepMsgPathgetPcepAttribute in interface PcepMsgPathpublic void setEroObject(PcepEroObject eroObj)
PcepMsgPathsetEroObject in interface PcepMsgPatheroObj - PCEP ERO Object.public void setPcepAttribute(PcepAttribute attrList)
PcepMsgPathsetPcepAttribute in interface PcepMsgPathattrList - PCEP-Attribute.public PcepMsgPath read(org.jboss.netty.buffer.ChannelBuffer cb) throws PcepParseException
PcepMsgPathread in interface PcepMsgPathcb - of type channel bufferPcepParseException - while parsing Message Path from Channel Buffer.public int write(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
PcepMsgPathwrite in interface PcepMsgPathcb - of type channel bufferPcepParseException - while writing Message Path into Channel Buffer.