Class EchoRequestMessageFactory

    • Constructor Detail

      • EchoRequestMessageFactory

        public EchoRequestMessageFactory()
    • Method Detail

      • serialize

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