Class PCEPCloseMessageParser
- java.lang.Object
- 
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
- 
- org.opendaylight.protocol.pcep.parser.message.PCEPCloseMessageParser
 
 
- 
- All Implemented Interfaces:
- MessageParser,- MessageSerializer
 
 public class PCEPCloseMessageParser extends AbstractMessageParser Parser forCloseMessage.
- 
- 
Field SummaryFields Modifier and Type Field Description static intTYPE
 - 
Constructor SummaryConstructors Constructor Description PCEPCloseMessageParser(ObjectRegistry registry)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserializeMessage(Message message, io.netty.buffer.ByteBuf out)Serializes given message to bytes wrapped in given ByteBuf.protected Closevalidate(List<Object> objects, List<Message> errors)- 
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParseraddVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
 
- 
 
- 
- 
- 
Field Detail- 
TYPEpublic static final int TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PCEPCloseMessageParserpublic PCEPCloseMessageParser(ObjectRegistry registry) 
 
- 
 - 
Method Detail- 
serializeMessagepublic void serializeMessage(Message message, io.netty.buffer.ByteBuf out) Description copied from interface:MessageSerializerSerializes given message to bytes wrapped in given ByteBuf.- Parameters:
- message- PCEP message to be serialized
- out- ByteBuf wrapper around serialized message
 
 - 
validateprotected Close validate(List<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
- validatein class- AbstractMessageParser
- Throws:
- PCEPDeserializerException
 
 
- 
 
-