Class SwapPacketStreamSerializer<T extends ISwapExternalizable>
java.lang.Object
com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.SwapPacketStreamSerializer<T>
- All Implemented Interfaces:
IPacketStreamSerializer<T>
public class SwapPacketStreamSerializer<T extends ISwapExternalizable>
extends Object
implements IPacketStreamSerializer<T>
A replication packet stream serializer that serializes packets that implements
ISwapExternalizable- Since:
- 8.0.2
- Author:
- eitany
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadPacketFromStream(ObjectInput input) Reads a packet from the given input streamvoidwritePacketToStream(ObjectOutput output, T packet) Writes the given packet to the output stream
-
Constructor Details
-
SwapPacketStreamSerializer
public SwapPacketStreamSerializer()
-
-
Method Details
-
writePacketToStream
Description copied from interface:IPacketStreamSerializerWrites the given packet to the output stream- Specified by:
writePacketToStreamin interfaceIPacketStreamSerializer<T extends ISwapExternalizable>- Throws:
IOException
-
readPacketFromStream
Description copied from interface:IPacketStreamSerializerReads a packet from the given input stream- Specified by:
readPacketFromStreamin interfaceIPacketStreamSerializer<T extends ISwapExternalizable>- Throws:
IOExceptionClassNotFoundException
-