public static class ControlTunnel.JacksonSerDe<MSG> extends Object implements Controller.CustomSerDe<MSG>
| Constructor and Description |
|---|
JacksonSerDe(Class<MSG> clazz) |
JacksonSerDe(Class<MSG> clazz,
com.fasterxml.jackson.databind.JsonSerializer<MSG> serializer,
com.fasterxml.jackson.databind.JsonDeserializer<MSG> deserializer) |
| Modifier and Type | Method and Description |
|---|---|
MSG |
deserializeReceived(byte[] bytes) |
byte[] |
serializeToSend(MSG send) |
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 © 2021 The Apache Software Foundation. All rights reserved.