Class PCEPNotificationMessageParser
- java.lang.Object
- 
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
- 
- org.opendaylight.protocol.pcep.parser.message.PCEPNotificationMessageParser
 
 
- 
- All Implemented Interfaces:
- MessageParser,- MessageSerializer
 
 public class PCEPNotificationMessageParser extends AbstractMessageParser Parser forPcntfMessage.
- 
- 
Field SummaryFields Modifier and Type Field Description static intTYPE
 - 
Constructor SummaryConstructors Constructor Description PCEPNotificationMessageParser(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 Messagevalidate(Queue<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- 
PCEPNotificationMessageParserpublic PCEPNotificationMessageParser(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 Message validate(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
- validatein class- AbstractMessageParser
- Throws:
- PCEPDeserializerException
 
 
- 
 
-