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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Reports
getValidReports
(Queue<Object> objects, List<Message> errors) protected void
serializeObject
(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, validate
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
addVendorInformationObjects, createErrorMsg, parseMessage, serializeVendorInformationObjects
-
Constructor Details
-
PcRptMessageCodec
-
-
Method Details
-
getValidReports
- Overrides:
getValidReports
in classStatefulPCReportMessageParser
-
serializeObject
Description copied from class:AbstractMessageParser
Calls registry to pick up specific object serializer for given object. Checks if the object is not null.- Overrides:
serializeObject
in classAbstractMessageParser
- Parameters:
object
- Object to be serialized, may be nullbuffer
- ByteBuf where the object should be serialized
-