Class PCEPKeepAliveMessageParser

  • All Implemented Interfaces:
    org.opendaylight.protocol.pcep.spi.MessageParser, org.opendaylight.protocol.pcep.spi.MessageSerializer

    public class PCEPKeepAliveMessageParser
    extends org.opendaylight.protocol.pcep.spi.AbstractMessageParser
    Parser for KeepaliveMessage.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      PCEPKeepAliveMessageParser​(org.opendaylight.protocol.pcep.spi.ObjectRegistry registry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serializeMessage​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Message message, io.netty.buffer.ByteBuf out)  
      protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.KeepaliveMessage 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)  
      • Methods inherited from class org.opendaylight.protocol.pcep.spi.AbstractMessageParser

        addVendorInformationObjects, createErrorMsg, parseMessage, serializeObject, serializeVendorInformationObjects
    • Constructor Detail

      • PCEPKeepAliveMessageParser

        public PCEPKeepAliveMessageParser​(org.opendaylight.protocol.pcep.spi.ObjectRegistry registry)
    • 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)
      • validate

        protected org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.KeepaliveMessage 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:
        validate in class org.opendaylight.protocol.pcep.spi.AbstractMessageParser
        Throws:
        org.opendaylight.protocol.pcep.spi.PCEPDeserializerException