| Modifier and Type | Class and Description |
|---|---|
static class |
PcepErrorVer1.Builder
Builder for error part of PCEP-ERROR.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static int |
OBJECT_HEADER_LENGTH |
| Constructor and Description |
|---|
PcepErrorVer1()
Constructor to initialize variable.
|
PcepErrorVer1(LinkedList<PcepErrorObject> llErrObjList)
Constructor to initialize PcepError.
|
PcepErrorVer1(LinkedList<PcepRPObject> llRPObjList,
LinkedList<PcepTEObject> llTEObjList,
LinkedList<PcepErrorObject> llErrObjListObjList)
Constructor to initialize variable.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<PcepErrorObject> |
getErrorObjList()
Returns the PcepErrorObject.
|
LinkedList<PcepRPObject> |
getRPObjList()
Returns the PcepRPObject List.
|
LinkedList<PcepTEObject> |
getTEObjList()
Returns the PcepTEObject List.
|
void |
parseErrObjList(org.jboss.netty.buffer.ChannelBuffer cb)
parseErrObjList from the channel buffer.
|
void |
parseRPList(org.jboss.netty.buffer.ChannelBuffer cb)
Parse RP List from the channel buffer.
|
void |
parseTEList(org.jboss.netty.buffer.ChannelBuffer cb)
Parse TE List from the channel buffer.
|
static PcepErrorVer1 |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the byte stream of PcepError from channel buffer.
|
void |
setErrorObjList(LinkedList<PcepErrorObject> llErrObjList)
Sets the Error Objects lists.
|
void |
setRPObjList(LinkedList<PcepRPObject> llRPObjList)
Sets the RP Objects lists.
|
void |
setTEObjList(LinkedList<PcepTEObject> llTEObjList)
Sets the TE Objects lists.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Writes the byte stream of PCEP error to the channel buffer.
|
protected static final org.slf4j.Logger log
public static final int OBJECT_HEADER_LENGTH
public PcepErrorVer1()
public PcepErrorVer1(LinkedList<PcepRPObject> llRPObjList, LinkedList<PcepTEObject> llTEObjList, LinkedList<PcepErrorObject> llErrObjListObjList)
llRPObjList - list of PcepRPObjectllTEObjList - list of PcepTEObjectllErrObjListObjList - list of PcepErrorObjectpublic PcepErrorVer1(LinkedList<PcepErrorObject> llErrObjList)
llErrObjList - list of PcepErrorObjectpublic LinkedList<PcepRPObject> getRPObjList()
PcepErrorgetRPObjList in interface PcepErrorpublic LinkedList<PcepTEObject> getTEObjList()
PcepErrorgetTEObjList in interface PcepErrorpublic LinkedList<PcepErrorObject> getErrorObjList()
PcepErrorgetErrorObjList in interface PcepErrorpublic void parseRPList(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
cb - of type channel bufferPcepParseException - if mandatory fields are missingpublic void parseTEList(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
cb - of type channel bufferPcepParseException - if mandatory fields are missingpublic void parseErrObjList(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
cb - of type channel bufferPcepParseException - if mandatory fields are missingpublic static PcepErrorVer1 read(org.jboss.netty.buffer.ChannelBuffer cb) throws PcepParseException
cb - of type channel bufferPcepParseException - if mandatory fields are missingpublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
write in interface PcepErrorcb - of type channel bufferPcepParseException - if mandatory fields are missingpublic void setRPObjList(LinkedList<PcepRPObject> llRPObjList)
PcepErrorsetRPObjList in interface PcepErrorllRPObjList - list of type PcepRPObjectpublic void setTEObjList(LinkedList<PcepTEObject> llTEObjList)
PcepErrorsetTEObjList in interface PcepErrorllTEObjList - list of type PcepTEObjectpublic void setErrorObjList(LinkedList<PcepErrorObject> llErrObjList)
PcepErrorsetErrorObjList in interface PcepErrorllErrObjList - list of type PcepErrorObjectCopyright © 2015. All rights reserved.