public class PcepStateReportVer1.PcepMsgPath extends Object implements PcepStateReport.PcepMsgPath
| Constructor and Description |
|---|
PcepMsgPath()
Constructor to reset the parameters.
|
PcepMsgPath(PcepEroObject eroObj,
PcepAttribute attrList,
PcepRroObject rroObj,
PcepBandwidthObject bandwidth)
Constructor to initialize the parameters from PCEP Message path.
|
| Modifier and Type | Method and Description |
|---|---|
PcepBandwidthObject |
getBandwidthObject()
Returns PcepBandwidthObject.
|
PcepEroObject |
getEroObject()
Returns PcepEroObject.
|
PcepAttribute |
getPcepAttribute()
Returns PCEP Attribute.
|
PcepRroObject |
getRroObject()
Returns PcepRroObject.
|
PcepStateReportVer1.PcepMsgPath |
read(org.jboss.netty.buffer.ChannelBuffer bb)
Reads all the Objects for PCEP Message Path.
|
void |
setBandwidthObject(PcepBandwidthObject bandwidth)
Sets PcepBandwidthObject.
|
void |
setEroObject(PcepEroObject eroObj)
Sets PcepEroObject.
|
void |
setPcepAttribute(PcepAttribute attrList)
Sets PcepAttribute.
|
void |
setRroObject(PcepRroObject rroObj)
Sets PcepRroObject.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes all the objects for PCEP message path.
|
public PcepMsgPath()
public PcepMsgPath(PcepEroObject eroObj, PcepAttribute attrList, PcepRroObject rroObj, PcepBandwidthObject bandwidth)
eroObj - PCEP ERO ObjectattrList - PCEP AttributerroObj - PCEP Rro Objectbandwidth - PCEP bandwidth objectpublic PcepEroObject getEroObject()
getEroObject in interface PcepStateReport.PcepMsgPathpublic PcepAttribute getPcepAttribute()
getPcepAttribute in interface PcepStateReport.PcepMsgPathpublic PcepRroObject getRroObject()
getRroObject in interface PcepStateReport.PcepMsgPathpublic PcepBandwidthObject getBandwidthObject()
PcepStateReport.PcepMsgPathgetBandwidthObject in interface PcepStateReport.PcepMsgPathpublic void setEroObject(PcepEroObject eroObj)
PcepStateReport.PcepMsgPathsetEroObject in interface PcepStateReport.PcepMsgPatheroObj - Ero Objectpublic void setPcepAttribute(PcepAttribute attrList)
PcepStateReport.PcepMsgPathsetPcepAttribute in interface PcepStateReport.PcepMsgPathattrList - Pcep Attribute objectpublic void setRroObject(PcepRroObject rroObj)
PcepStateReport.PcepMsgPathsetRroObject in interface PcepStateReport.PcepMsgPathrroObj - Rro objectpublic void setBandwidthObject(PcepBandwidthObject bandwidth)
PcepStateReport.PcepMsgPathsetBandwidthObject in interface PcepStateReport.PcepMsgPathbandwidth - bandwidth objectpublic PcepStateReportVer1.PcepMsgPath read(org.jboss.netty.buffer.ChannelBuffer bb) throws PcepParseException
read in interface PcepStateReport.PcepMsgPathbb - of type channel bufferPcepParseException - when fails to read pcep message pathpublic int write(org.jboss.netty.buffer.ChannelBuffer bb)
throws PcepParseException
write in interface PcepStateReport.PcepMsgPathbb - of type channel buffer.PcepParseException - when fails to write to channel buffer