public interface JsonSupport
| Modifier and Type | Method and Description |
|---|---|
void |
addEventMapping(String eventName,
Class<?>... eventClass) |
AckArgs |
readAckArgs(io.netty.buffer.ByteBufInputStream src,
AckCallback<?> callback) |
<T> T |
readValue(io.netty.buffer.ByteBufInputStream src,
Class<T> valueType) |
<T> T |
readValue(String src,
Class<T> valueType) |
void |
removeEventMapping(String eventName) |
void |
writeJsonpValue(io.netty.buffer.ByteBufOutputStream out,
Object value) |
void |
writeValue(io.netty.buffer.ByteBufOutputStream out,
Object value) |
void writeJsonpValue(io.netty.buffer.ByteBufOutputStream out,
Object value)
throws IOException
IOExceptionAckArgs readAckArgs(io.netty.buffer.ByteBufInputStream src, AckCallback<?> callback) throws IOException
IOException<T> T readValue(io.netty.buffer.ByteBufInputStream src,
Class<T> valueType)
throws IOException
IOExceptionvoid writeValue(io.netty.buffer.ByteBufOutputStream out,
Object value)
throws IOException
IOException<T> T readValue(String src, Class<T> valueType) throws IOException
IOExceptionvoid removeEventMapping(String eventName)
Copyright © 2012–2014. All rights reserved.