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 Summary
Modifier and TypeMethodDescriptiondeserializeReceived
(byte[] bytes) byte[]
serializeToSend
(MSG send)
-
Method Details
-
serializeToSend
-
deserializeReceived
- Throws:
Exception
-