public class SwapPacketStreamSerializer<T extends ISwapExternalizable> extends Object implements IPacketStreamSerializer<T>
ISwapExternalizable| Constructor and Description |
|---|
SwapPacketStreamSerializer() |
| 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 void writePacketToStream(ObjectOutput output, T packet) throws IOException
IPacketStreamSerializerwritePacketToStream in interface IPacketStreamSerializer<T extends ISwapExternalizable>IOExceptionpublic T readPacketFromStream(ObjectInput input) throws IOException, ClassNotFoundException
IPacketStreamSerializerreadPacketFromStream in interface IPacketStreamSerializer<T extends ISwapExternalizable>IOExceptionClassNotFoundExceptionCopyright © GigaSpaces.