public interface PcepErrorObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepErrorObject.Builder
Builder interface with get and set functions to build Error object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorType()
Returns Error Type in Error Object.
|
byte |
getErrorValue()
Returns Error Value in Error Object.
|
LinkedList<PcepValueType> |
getOptionalTlv()
Returns Optional Tlvs in Error Object.
|
void |
setErrorType(byte value)
Sets Error Type in Error Object.
|
void |
setErrorValue(byte value)
Sets Error Value in Error Object.
|
void |
setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
Sets Optional Tlvs in Error Object.
|
int |
write(org.jboss.netty.buffer.ChannelBuffer bb)
Writes the Error Object into channel buffer.
|
int getErrorType()
void setErrorType(byte value)
value - Error Typebyte getErrorValue()
void setErrorValue(byte value)
value - Error ValueLinkedList<PcepValueType> getOptionalTlv()
void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
llOptionalTlv - list of Optional Tlvsint write(org.jboss.netty.buffer.ChannelBuffer bb) throws PcepParseException
bb - channel bufferPcepParseException - while writing Error Object into ChannelBufferCopyright © 2015. All rights reserved.