Class PCEPExplicitRouteObjectParser

All Implemented Interfaces:
ObjectParser, ObjectSerializer

public final class PCEPExplicitRouteObjectParser extends AbstractEROWithSubobjectsParser
Parser for Ero.
  • Constructor Details

    • PCEPExplicitRouteObjectParser

      public PCEPExplicitRouteObjectParser(EROSubobjectRegistry subobjReg)
  • Method Details

    • parseObject

      public Ero 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