Class PCEPReplyMessageParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.AbstractMessageParser
org.opendaylight.protocol.pcep.parser.message.PCEPReplyMessageParser
- All Implemented Interfaces:
MessageParser
,MessageSerializer
Parser for
Pcrep
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Replies
getValidReply
(Queue<Object> objects, List<Message> errors) protected void
parseAttributes
(FailureCaseBuilder builder, Queue<Object> objects) protected void
parsePath
(PathsBuilder builder, Queue<Object> objects) void
serializeMessage
(Message message, io.netty.buffer.ByteBuf out) Serializes given message to bytes wrapped in given ByteBuf.protected void
serializeMetricPce
(MetricPce metricPce, io.netty.buffer.ByteBuf buffer) protected void
serializeReply
(Replies reply, io.netty.buffer.ByteBuf buffer) protected Pcrep
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
-
PCEPReplyMessageParser
-
-
Method Details
-
serializeMessage
Description copied from interface:MessageSerializer
Serializes given message to bytes wrapped in given ByteBuf.- Parameters:
message
- PCEP message to be serializedout
- ByteBuf wrapper around serialized message
-
serializeReply
-
serializeMetricPce
-
validate
protected Pcrep validate(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
validate
in classAbstractMessageParser
- Throws:
PCEPDeserializerException
-
getValidReply
protected Replies getValidReply(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException - Throws:
PCEPDeserializerException
-
parseAttributes
-
parsePath
-