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

    • serializeToSend

      byte[] serializeToSend(MSG send)
    • deserializeReceived

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