Class PcRptMessageCodec
java.lang.Object
org.opendaylight.protocol.pcep.spi.AbstractMessageParser
org.opendaylight.protocol.pcep.ietf.stateful.StatefulPCReportMessageParser
org.opendaylight.protocol.pcep.auto.bandwidth.extension.PcRptMessageCodec
- All Implemented Interfaces:
MessageParser,MessageSerializer
-
Field Summary
Fields inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulPCReportMessageParser
TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ReportsgetValidReports(Queue<Object> objects, List<Message> errors) protected voidserializeObject(Object object, io.netty.buffer.ByteBuf buffer) Calls registry to pick up specific object serializer for given object.Methods inherited from class org.opendaylight.protocol.pcep.ietf.stateful.StatefulPCReportMessageParser
serializeMessage, validateMethods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
addVendorInformationObjects, createErrorMsg, parseMessage, serializeVendorInformationObjects
-
Constructor Details
-
PcRptMessageCodec
-
-
Method Details
-
getValidReports
- Overrides:
getValidReportsin classStatefulPCReportMessageParser
-
serializeObject
Description copied from class:AbstractMessageParserCalls registry to pick up specific object serializer for given object. Checks if the object is not null.- Overrides:
serializeObjectin classAbstractMessageParser- Parameters:
object- Object to be serialized, may be nullbuffer- ByteBuf where the object should be serialized
-