Class PCEPReplyMessageParser
- java.lang.Object
- 
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
- 
- org.opendaylight.protocol.pcep.parser.message.PCEPReplyMessageParser
 
 
- 
- All Implemented Interfaces:
- MessageParser,- MessageSerializer
 
 public class PCEPReplyMessageParser extends AbstractMessageParser Parser forPcrep.
- 
- 
Field SummaryFields Modifier and Type Field Description static intTYPE
 - 
Constructor SummaryConstructors Constructor Description PCEPReplyMessageParser(ObjectRegistry registry)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RepliesgetValidReply(List<Object> objects, List<Message> errors)protected voidparseAttributes(FailureCaseBuilder builder, List<Object> objects)protected voidparsePath(PathsBuilder builder, List<Object> objects)voidserializeMessage(Message message, io.netty.buffer.ByteBuf out)Serializes given message to bytes wrapped in given ByteBuf.protected voidserializeMetricPce(MetricPce metricPce, io.netty.buffer.ByteBuf buffer)protected voidserializeReply(Replies reply, io.netty.buffer.ByteBuf buffer)protected Pcrepvalidate(List<Object> objects, List<Message> errors)- 
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParseraddVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
 
- 
 
- 
- 
- 
Field Detail- 
TYPEpublic static final int TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PCEPReplyMessageParserpublic PCEPReplyMessageParser(ObjectRegistry registry) 
 
- 
 - 
Method Detail- 
serializeMessagepublic void serializeMessage(Message message, io.netty.buffer.ByteBuf out) Description copied from interface:MessageSerializerSerializes given message to bytes wrapped in given ByteBuf.- Parameters:
- message- PCEP message to be serialized
- out- ByteBuf wrapper around serialized message
 
 - 
serializeReplyprotected void serializeReply(Replies reply, io.netty.buffer.ByteBuf buffer) 
 - 
serializeMetricPceprotected void serializeMetricPce(MetricPce metricPce, io.netty.buffer.ByteBuf buffer) 
 - 
validateprotected Pcrep validate(List<Object> objects, List<Message> errors) throws PCEPDeserializerException - Specified by:
- validatein class- AbstractMessageParser
- Throws:
- PCEPDeserializerException
 
 - 
getValidReplyprotected Replies getValidReply(List<Object> objects, List<Message> errors) throws PCEPDeserializerException - Throws:
- PCEPDeserializerException
 
 - 
parseAttributesprotected void parseAttributes(FailureCaseBuilder builder, List<Object> objects) 
 - 
parsePathprotected void parsePath(PathsBuilder builder, List<Object> objects) 
 
- 
 
-