Class StatefulPCReportMessageParser
- java.lang.Object
- 
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
- 
- org.opendaylight.protocol.pcep.ietf.stateful.StatefulPCReportMessageParser
 
 
- 
- All Implemented Interfaces:
- MessageParser,- MessageSerializer
 - Direct Known Subclasses:
- PcRptMessageCodec
 
 public class StatefulPCReportMessageParser extends AbstractMessageParser Parser forPcrpt.
- 
- 
Field SummaryFields Modifier and Type Field Description static intTYPE
 - 
Constructor SummaryConstructors Constructor Description StatefulPCReportMessageParser(ObjectRegistry registry)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ReportsgetValidReports(List<Object> objects, List<Message> errors)voidserializeMessage(Message message, io.netty.buffer.ByteBuf out)Serializes given message to bytes wrapped in given ByteBuf.Messagevalidate(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- 
StatefulPCReportMessageParserpublic StatefulPCReportMessageParser(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
 
 - 
validatepublic Message validate(List<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
- validatein class- AbstractMessageParser
- Throws:
- PCEPDeserializerException
 
 
- 
 
-