java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.util.ActionUtil

public final class ActionUtil extends Object
Utility class for action serialization.
  • Method Details

    • writeAction

      public static void writeAction(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
      Serialize OpenFlow action, using extension converter if available. TODO: Remove also extension converters
      Parameters:
      action - OpenFlowPlugin action
      version - OpenFlow version
      registry - serializer registry
      outBuffer - output buffer
    • writeActionHeader

      public static void writeActionHeader(Action action, org.opendaylight.yangtools.yang.common.Uint8 version, SerializerRegistry registry, io.netty.buffer.ByteBuf outBuffer)
      Serialize OpenFlow action header, using extension converter if available. TODO: Remove also extension converters
      Parameters:
      action - OpenFlowPlugin action
      version - OpenFlow version
      registry - serializer registry
      outBuffer - output buffer