Class PCEPSecondaryExplicitRouteObjecParser

All Implemented Interfaces:
ObjectParser, ObjectSerializer

public final class PCEPSecondaryExplicitRouteObjecParser extends AbstractEROWithSubobjectsParser
  • Constructor Details

    • PCEPSecondaryExplicitRouteObjecParser

      public PCEPSecondaryExplicitRouteObjecParser(EROSubobjectRegistry subobjReg)
  • Method Details

    • parseObject

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