public class DefaultPacketStreamSerializer<T> extends Object implements IPacketStreamSerializer<T>
| Constructor and Description | 
|---|
| DefaultPacketStreamSerializer() | 
| Modifier and Type | Method and Description | 
|---|---|
| T | readPacketFromStream(ObjectInput input)Reads a packet from the given input stream | 
| void | writePacketToStream(ObjectOutput output,
                   T packet)Writes the given packet to the output stream | 
public T readPacketFromStream(ObjectInput input) throws IOException, ClassNotFoundException
IPacketStreamSerializerreadPacketFromStream in interface IPacketStreamSerializer<T>IOExceptionClassNotFoundExceptionpublic void writePacketToStream(ObjectOutput output, T packet) throws IOException
IPacketStreamSerializerwritePacketToStream in interface IPacketStreamSerializer<T>IOExceptionCopyright © GigaSpaces.