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
Parser for
Pcrpt.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ReportsgetValidReports(Queue<Object> objects, List<Message> errors) voidserializeMessage(Message message, io.netty.buffer.ByteBuf out) Serializes given message to bytes wrapped in given ByteBuf.Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
addVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
StatefulPCReportMessageParser
-
-
Method Details
-
serializeMessage
Description copied from interface:MessageSerializerSerializes given message to bytes wrapped in given ByteBuf.- Parameters:
message- PCEP message to be serializedout- ByteBuf wrapper around serialized message
-
validate
public Message validate(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
validatein classAbstractMessageParser- Throws:
PCEPDeserializerException
-
getValidReports
-