Interface Encoder


public interface Encoder
Allows to convert an object to a byte array to be sent accross the network.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    encode(Object value)
     
  • Method Details

    • encode

      byte[] encode(Object value)
      Parameters:
      value - the payload instance.
      Returns:
      the raw representation to be sent to the server.