Class PCEPIncludeRouteObjectParser

All Implemented Interfaces:
ObjectParser, ObjectSerializer

public final class PCEPIncludeRouteObjectParser extends AbstractEROWithSubobjectsParser
Parser for Iro.
  • Constructor Details

    • PCEPIncludeRouteObjectParser

      public PCEPIncludeRouteObjectParser(EROSubobjectRegistry subobjReg)
  • Method Details

    • parseObject

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