Class PCEPBandwidthObjectParser

  • All Implemented Interfaces:
    org.opendaylight.protocol.pcep.spi.ObjectParser, org.opendaylight.protocol.pcep.spi.ObjectSerializer

    public final class PCEPBandwidthObjectParser
    extends org.opendaylight.protocol.pcep.spi.CommonObjectParser
    implements org.opendaylight.protocol.pcep.spi.ObjectSerializer
    Parser for Bandwidth.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.bandwidth.object.Bandwidth parseObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader header, io.netty.buffer.ByteBuf bytes)  
      void serializeObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object object, io.netty.buffer.ByteBuf buffer)  
      • Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser

        getObjectClass, getObjectType
    • Constructor Detail

      • PCEPBandwidthObjectParser

        public PCEPBandwidthObjectParser()
    • Method Detail

      • parseObject

        public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.bandwidth.object.Bandwidth parseObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader header,
                                                                                                                                            io.netty.buffer.ByteBuf bytes)
                                                                                                                                     throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
        Specified by:
        parseObject in interface org.opendaylight.protocol.pcep.spi.ObjectParser
        Throws:
        org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
      • serializeObject

        public void serializeObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object object,
                                    io.netty.buffer.ByteBuf buffer)
        Specified by:
        serializeObject in interface org.opendaylight.protocol.pcep.spi.ObjectSerializer