Class PCEPMonitoringRequestMessageParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.AbstractMessageParser
-
- org.opendaylight.protocol.pcep.parser.message.PCEPRequestMessageParser
-
- org.opendaylight.protocol.pcep.parser.message.PCEPMonitoringRequestMessageParser
-
- All Implemented Interfaces:
MessageParser
,MessageSerializer
public class PCEPMonitoringRequestMessageParser extends PCEPRequestMessageParser
Parser forPcmonreq
.- See Also:
- Monitoring Request Message
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE
-
Constructor Summary
Constructors Constructor Description PCEPMonitoringRequestMessageParser(ObjectRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serializeMessage(Message message, io.netty.buffer.ByteBuf out)
Serializes given message to bytes wrapped in given ByteBuf.protected Message
validate(Queue<Object> objects, List<Message> errors)
-
Methods inherited from class org.opendaylight.protocol.pcep.parser.message.PCEPRequestMessageParser
getMonitoring, getP2MPSegmentComputation, getP2PSegmentComputation, getRequests, getSvecs, serializeMonitoringRequest, serializeP2MP, serializeP2P, serializeRequest, serializeSvec
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
addVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
-
-
-
-
Field Detail
-
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PCEPMonitoringRequestMessageParser
public PCEPMonitoringRequestMessageParser(ObjectRegistry registry)
-
-
Method Detail
-
serializeMessage
public void serializeMessage(Message message, io.netty.buffer.ByteBuf out)
Description copied from interface:MessageSerializer
Serializes given message to bytes wrapped in given ByteBuf.- Specified by:
serializeMessage
in interfaceMessageSerializer
- Overrides:
serializeMessage
in classPCEPRequestMessageParser
- Parameters:
message
- PCEP message to be serializedout
- ByteBuf wrapper around serialized message
-
validate
protected Message validate(Queue<Object> objects, List<Message> errors) throws PCEPDeserializerException
- Overrides:
validate
in classPCEPRequestMessageParser
- Throws:
PCEPDeserializerException
-
-