Class StatefulErrorMessageParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
-
- org.opendaylight.protocol.pcep.parser.message.PCEPErrorMessageParser
-
- org.opendaylight.protocol.pcep.ietf.stateful.StatefulErrorMessageParser
-
- All Implemented Interfaces:
MessageParser
,MessageSerializer
public final class StatefulErrorMessageParser extends PCEPErrorMessageParser
Parser forPcerrMessage
.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.protocol.pcep.parser.message.PCEPErrorMessageParser
TYPE
-
-
Constructor Summary
Constructors Constructor Description StatefulErrorMessageParser(ObjectRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serializeCases(PcerrMessage err, io.netty.buffer.ByteBuf buffer)
If needed, subclasses can override this method.protected PcerrMessage
validate(Queue<Object> objects, List<Message> errors)
-
Methods inherited from class org.opendaylight.protocol.pcep.parser.message.PCEPErrorMessageParser
serializeMessage
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
addVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
-
-
-
-
Constructor Detail
-
StatefulErrorMessageParser
public StatefulErrorMessageParser(ObjectRegistry registry)
-
-
Method Detail
-
serializeCases
protected void serializeCases(PcerrMessage err, io.netty.buffer.ByteBuf buffer)
Description copied from class:PCEPErrorMessageParser
If needed, subclasses can override this method.- Overrides:
serializeCases
in classPCEPErrorMessageParser
-
validate
protected PcerrMessage validate(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException
- Overrides:
validate
in classPCEPErrorMessageParser
- Throws:
PCEPDeserializerException
-
-