public class ExternalizableClassSerializer extends Object implements IClassSerializer<Externalizable>
CODE_BOOLEAN, CODE_BYTE, CODE_BYTE_ARRAY, CODE_CHARACTER, CODE_DOUBLE, CODE_FLOAT, CODE_HASHMAP, CODE_INTEGER, CODE_LONG, CODE_NULL, CODE_OBJECT, CODE_SHORT, CODE_STRING
Constructor and Description |
---|
ExternalizableClassSerializer(byte code,
Class<?> type,
PlatformLogicalVersion since) |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
Externalizable |
read(ObjectInput in) |
void |
write(ObjectOutput out,
Externalizable obj) |
public ExternalizableClassSerializer(byte code, Class<?> type, PlatformLogicalVersion since)
public byte getCode()
getCode
in interface IClassSerializer<Externalizable>
public void write(ObjectOutput out, Externalizable obj) throws IOException
write
in interface IClassSerializer<Externalizable>
IOException
public Externalizable read(ObjectInput in) throws IOException, ClassNotFoundException
read
in interface IClassSerializer<Externalizable>
IOException
ClassNotFoundException
Copyright © GigaSpaces.