Interface JsonSupport
- All Known Implementing Classes:
JacksonJsonSupport
public interface JsonSupport
JSON infrastructure interface.
Allows to implement custom realizations
to JSON support operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEventMapping
(String namespaceName, String eventName, Class<?>... eventClass) List<byte[]>
readAckArgs
(io.netty.buffer.ByteBufInputStream src, AckCallback<?> callback) <T> T
void
removeEventMapping
(String namespaceName, String eventName) void
writeValue
(io.netty.buffer.ByteBufOutputStream out, Object value)
-
Method Details
-
readAckArgs
AckArgs readAckArgs(io.netty.buffer.ByteBufInputStream src, AckCallback<?> callback) throws IOException - Throws:
IOException
-
readValue
<T> T readValue(String namespaceName, io.netty.buffer.ByteBufInputStream src, Class<T> valueType) throws IOException - Throws:
IOException
-
writeValue
- Throws:
IOException
-
addEventMapping
-
removeEventMapping
-
getArrays
List<byte[]> getArrays()
-