Interface IPacketStreamSerializer<T>
- All Known Implementing Classes:
DefaultPacketStreamSerializer,SwapPacketStreamSerializer
public interface IPacketStreamSerializer<T>
Provide replication packet stream serializing capabilities
- Since:
- 7.1
- Author:
- eitany
-
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
-
Method Details
-
writePacketToStream
Writes the given packet to the output stream- Throws:
IOException
-
readPacketFromStream
Reads a packet from the given input stream- Throws:
IOExceptionClassNotFoundException
-