| 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(List<PcepErrorObject> errObjList)
Constructor to initialize PcepError.
|
PcepErrorVer1(List<PcepRPObject> rpObjList,
List<PcepLSObject> lsObjList,
List<PcepErrorObject> errObjListObjList)
Constructor to initialize variable.
|
| Modifier and Type | Method and Description |
|---|---|
List<PcepErrorObject> |
getErrorObjList()
Returns the PcepErrorObject.
|
List<PcepLSObject> |
getLSObjList()
Returns the PcepLSObject List.
|
List<PcepRPObject> |
getRPObjList()
Returns the PcepRPObject List.
|
void |
parseErrObjList(org.jboss.netty.buffer.ChannelBuffer cb)
parseErrObjList from the channel buffer.
|
void |
parseLSList(org.jboss.netty.buffer.ChannelBuffer cb)
Parse LS List from the channel buffer.
|
void |
parseRPList(org.jboss.netty.buffer.ChannelBuffer cb)
Parse RP 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(List<PcepErrorObject> errObjList)
Sets the Error Objects lists.
|
void |
setLSObjList(List<PcepLSObject> lsObjList)
Sets the LS Objects lists.
|
void |
setRPObjList(List<PcepRPObject> rpObjList)
Sets the RP 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(List<PcepRPObject> rpObjList, List<PcepLSObject> lsObjList, List<PcepErrorObject> errObjListObjList)
rpObjList - list of PcepRPObjectlsObjList - list of PcepLSObjecterrObjListObjList - list of PcepErrorObjectpublic PcepErrorVer1(List<PcepErrorObject> errObjList)
errObjList - list of PcepErrorObjectpublic List<PcepRPObject> getRPObjList()
PcepErrorgetRPObjList in interface PcepErrorpublic List<PcepLSObject> getLSObjList()
PcepErrorgetLSObjList in interface PcepErrorpublic List<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 parseLSList(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(List<PcepRPObject> rpObjList)
PcepErrorsetRPObjList in interface PcepErrorrpObjList - list of type PcepRPObjectpublic void setLSObjList(List<PcepLSObject> lsObjList)
PcepErrorsetLSObjList in interface PcepErrorlsObjList - list of type PcepLSObjectpublic void setErrorObjList(List<PcepErrorObject> errObjList)
PcepErrorsetErrorObjList in interface PcepErrorerrObjList - list of type PcepErrorObject