Interface Controller.CustomSerDe<MSG>

All Known Implementing Classes:
ControlTunnel.JacksonSerDe, ControlTunnel.ProtoSerDe
Enclosing interface:
Controller

public static interface Controller.CustomSerDe<MSG>
Interface for defining how to serialize and deserialize custom message for consumer who want to use something other than Protobuf messages.
  • Method Details Link icon

    • serializeToSend Link icon

      byte[] serializeToSend(MSG send)
    • deserializeReceived Link icon

      MSG deserializeReceived(byte[] bytes) throws Exception
      Throws:
      Exception