public interface PcepCloseMsg extends PcepObject, PcepMessage
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PcepCloseMsg.Builder
Builder interface with get and set functions to build Close message.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<PcepValueType> |
getOptionalTlv()
Returns LinkedList of Optional Tlv in Close Message.
|
byte |
getReason()
Returns reason field in Close message.
|
PcepType |
getType()
Returns Type of PCEP Message.
|
PcepVersion |
getVersion()
Returns Version of PCEP Object.
|
void |
setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
Sets LinkedList of Optional Tlvs in Close Message.
|
void |
setReason(byte value)
Sets reason field in Close message with specified value.
|
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer channelBuffer)
Writes byte streams of messages to channel buffer.
|
PcepVersion getVersion()
PcepObjectgetVersion in interface PcepMessagegetVersion in interface PcepObjectPcepType getType()
PcepMessagegetType in interface PcepMessagebyte getReason()
void setReason(byte value)
value - of Reason fieldLinkedList<PcepValueType> getOptionalTlv()
void setOptionalTlv(LinkedList<PcepValueType> llOptionalTlv)
llOptionalTlv - LinkedList of type PcepValueTypevoid writeTo(org.jboss.netty.buffer.ChannelBuffer channelBuffer)
throws PcepParseException
WriteablewriteTo in interface PcepMessagewriteTo in interface WriteablechannelBuffer - parameter of type channel bufferPcepParseException - when error occurs while writing pcep message to channel bufferCopyright © 2015. All rights reserved.