public interface MessageSerializer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
read(DataInputStream inputStream,
InetEndpoint localAddress,
InetEndpoint remoteAddress) |
void |
write(T message,
DataOutputStream outputStream) |
T read(DataInputStream inputStream, InetEndpoint localAddress, InetEndpoint remoteAddress) throws Exception
Exceptionvoid write(T message, DataOutputStream outputStream) throws Exception
ExceptionCopyright © 2013. All rights reserved