public class EntryPacketDataConverter extends Object implements IDataConverter<IEntryPacket>
EntryPacketDataConverter is a wrapper for the IPojoToEntryConverter . It calls
the converter with the expected data type.| Modifier and Type | Class and Description |
|---|---|
static class |
EntryPacketDataConverter.DataType |
| Modifier and Type | Field and Description |
|---|---|
protected SpaceTypeManager |
_typeManager |
| Constructor and Description |
|---|
EntryPacketDataConverter(SpaceTypeManager typeDescRepository,
Class type) |
| Modifier and Type | Method and Description |
|---|---|
SpaceDocument |
toDocument(IEntryPacket entryPacket) |
IEntryPacket |
toInternal(Object obj)
Converts to internal representation
|
Object |
toObject(IEntryPacket entryPacket)
Converts from internal representation
|
protected final SpaceTypeManager _typeManager
public EntryPacketDataConverter(SpaceTypeManager typeDescRepository, Class type)
typeDescRepository - type - public IEntryPacket toInternal(Object obj) throws RemoteException, UnusableEntryException, UnknownTypeException
IDataConvertertoInternal in interface IDataConverter<IEntryPacket>obj - The object to convert to internal representationRemoteExceptionUnusableEntryExceptionUnknownTypeExceptionpublic Object toObject(IEntryPacket entryPacket)
IDataConvertertoObject in interface IDataConverter<IEntryPacket>entryPacket - internal representationpublic SpaceDocument toDocument(IEntryPacket entryPacket)
toDocument in interface IDataConverter<IEntryPacket>Copyright © GigaSpaces.