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