public static class ControlTunnel.JacksonSerDe<MSG> extends Object implements Controller.CustomSerDe<MSG>
| Constructor and Description |
|---|
ControlTunnel.JacksonSerDe(Class<MSG> clazz) |
ControlTunnel.JacksonSerDe(Class<MSG> clazz,
com.fasterxml.jackson.databind.JsonSerializer<MSG> serializer,
com.fasterxml.jackson.databind.JsonDeserializer<MSG> deserializer) |
public byte[] serializeToSend(MSG send)
serializeToSend in interface Controller.CustomSerDe<MSG>public MSG deserializeReceived(byte[] bytes) throws Exception
deserializeReceived in interface Controller.CustomSerDe<MSG>ExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.