public class DefaultMessageSerializer<T> extends java.lang.Object implements MessageSerializer<T>
| Constructor and Description |
|---|
DefaultMessageSerializer(java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
T |
read(java.io.DataInputStream inputStream,
InetEndpoint localAddress,
InetEndpoint remoteAddress) |
void |
write(T message,
java.io.DataOutputStream outputStream) |
public DefaultMessageSerializer(java.lang.ClassLoader classLoader)
public T read(java.io.DataInputStream inputStream, InetEndpoint localAddress, InetEndpoint remoteAddress) throws java.lang.Exception
read in interface MessageSerializer<T>java.lang.Exceptionpublic void write(T message, java.io.DataOutputStream outputStream) throws java.lang.Exception
write in interface MessageSerializer<T>java.lang.ExceptionCopyright © 2013. All rights reserved