Class PCEPReportedRouteObjectParser

All Implemented Interfaces:
ObjectParser, ObjectSerializer

public final class PCEPReportedRouteObjectParser extends AbstractRROWithSubobjectsParser
Parser for Rro.
  • Field Details

  • Constructor Details

    • PCEPReportedRouteObjectParser

      public PCEPReportedRouteObjectParser(RROSubobjectRegistry subobjReg)
  • Method Details

    • parseObject

      public Rro parseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes) throws PCEPDeserializerException
      Throws:
      PCEPDeserializerException
    • serializeObject

      public void serializeObject(Object object, io.netty.buffer.ByteBuf buffer)
      Description copied from interface: ObjectSerializer
      Serializes given object to bytes wrapped in given ByteBuf.
      Parameters:
      object - PCEP object to be serialized
      buffer - ByteBuf wrapper around serialized object