Class ActionUtil


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

      • writeAction

        public static void writeAction​(Action action,
                                       short 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,
                                             short 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