Class PCEPReplyMessageParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
-
- org.opendaylight.protocol.pcep.parser.message.PCEPReplyMessageParser
-
- All Implemented Interfaces:
org.opendaylight.protocol.pcep.spi.MessageParser,org.opendaylight.protocol.pcep.spi.MessageSerializer
public class PCEPReplyMessageParser extends org.opendaylight.protocol.pcep.spi.AbstractMessageParserParser forPcrep.
-
-
Field Summary
Fields Modifier and Type Field Description static intTYPE
-
Constructor Summary
Constructors Constructor Description PCEPReplyMessageParser(org.opendaylight.protocol.pcep.spi.ObjectRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.RepliesgetValidReply(Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message> errors)protected voidparseAttributes(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.replies.result.FailureCaseBuilder builder, Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects)protected voidparsePath(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.replies.result.success._case.success.PathsBuilder builder, Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects)voidserializeMessage(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message message, io.netty.buffer.ByteBuf out)protected voidserializeMetricPce(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.monitoring.metrics.MetricPce metricPce, io.netty.buffer.ByteBuf buffer)protected voidserializeReply(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.Replies reply, io.netty.buffer.ByteBuf buffer)protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.message.rev181109.Pcrepvalidate(Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message> errors)
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
serializeMessage
public void serializeMessage(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message message, io.netty.buffer.ByteBuf out)
-
serializeReply
protected void serializeReply(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.Replies reply, io.netty.buffer.ByteBuf buffer)
-
serializeMetricPce
protected void serializeMetricPce(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.monitoring.metrics.MetricPce metricPce, io.netty.buffer.ByteBuf buffer)
-
validate
protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.message.rev181109.Pcrep validate(Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message> errors) throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
- Specified by:
validatein classorg.opendaylight.protocol.pcep.spi.AbstractMessageParser- Throws:
org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
-
getValidReply
protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.Replies getValidReply(Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects, List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message> errors) throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
- Throws:
org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
-
parseAttributes
protected void parseAttributes(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.replies.result.FailureCaseBuilder builder, Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects)
-
parsePath
protected void parsePath(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.pcrep.message.pcrep.message.replies.result.success._case.success.PathsBuilder builder, Queue<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object> objects)
-
-