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