Class OF13SetFieldActionSerializer

    • Constructor Detail

      • OF13SetFieldActionSerializer

        public OF13SetFieldActionSerializer()
    • Method Detail

      • serialize

        public void serialize​(Action action,
                              io.netty.buffer.ByteBuf outBuffer)
        Description copied from interface: OFSerializer
        Transforms POJO/DTO into byte message (ByteBuf).
        Specified by:
        serialize in interface OFSerializer<Action>
        Parameters:
        action - object to be serialized
        outBuffer - output buffer
      • serializeHeader

        public void serializeHeader​(Action input,
                                    io.netty.buffer.ByteBuf outBuffer)
        Description copied from interface: HeaderSerializer
        Serializes object headers (e.g. for Multipart message - Table Features).
        Specified by:
        serializeHeader in interface HeaderSerializer<Action>
        Parameters:
        input - object whose headers should be serialized
        outBuffer - output buffer