public class ErrorObjListWithOpen extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
ErrorObjListWithOpen(LinkedList<PcepErrorObject> errObj)
Constructor to initialize ERROR Object.
|
ErrorObjListWithOpen(LinkedList<PcepErrorObject> errObj,
PcepOpenObject openObj)
Constructor to initialize Error and OPEN object.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<Integer> |
getErrorType()
Return list of Error Types.
|
LinkedList<Integer> |
getErrorValue()
Return list of Error Values.
|
boolean |
isErrorObjListWithOpenPresent()
Checks whether ERROR Object list is empty or not.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Write Error Object List and Open Object to channel buffer.
|
public ErrorObjListWithOpen(LinkedList<PcepErrorObject> errObj, PcepOpenObject openObj)
errObj - ERROR object listopenObj - OPEN objectpublic ErrorObjListWithOpen(LinkedList<PcepErrorObject> errObj)
errObj - ERROR Object listpublic LinkedList<Integer> getErrorType()
public LinkedList<Integer> getErrorValue()
public boolean isErrorObjListWithOpenPresent()
public int write(org.jboss.netty.buffer.ChannelBuffer cb)
throws PcepParseException
cb - output channel bufferPcepParseException - when mandatory fields are not setCopyright © 2015. All rights reserved.