Class AbstractTablePropertySerializer<T extends TableFeaturePropType>

    • Constructor Detail

      • AbstractTablePropertySerializer

        public AbstractTablePropertySerializer()
    • Method Detail

      • serialize

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

        protected abstract void serializeProperty​(T property,
                                                  io.netty.buffer.ByteBuf byteBuf)
      • getClazz

        protected abstract Class<T> getClazz()