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