Class PCEPSecondaryRecordRouteObjectParser

All Implemented Interfaces:
ObjectParser, ObjectSerializer

public final class PCEPSecondaryRecordRouteObjectParser extends AbstractRROWithSubobjectsParser
  • Constructor Details

    • PCEPSecondaryRecordRouteObjectParser

      public PCEPSecondaryRecordRouteObjectParser(RROSubobjectRegistry subobjReg)
  • Method Details

    • parseObject

      public Srro parseObject(ObjectHeader header, io.netty.buffer.ByteBuf buffer) 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