public class DBPacketSerializer<T> extends Object
Constructor and Description |
---|
DBPacketSerializer(IPacketStreamSerializer<T> packetStreamSerializer) |
Modifier and Type | Method and Description |
---|---|
T |
deserializePacket(byte[] bytes) |
byte[] |
serializePacket(T packet) |
public DBPacketSerializer(IPacketStreamSerializer<T> packetStreamSerializer)
public byte[] serializePacket(T packet) throws IOException
IOException
public T deserializePacket(byte[] bytes) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © GigaSpaces.