public class SpaceRemoteEvent extends RemoteEvent implements Externalizable
Modifier and Type | Field and Description |
---|---|
protected static String |
EMPTY_STRING |
eventID, handback, seqNum, source
Constructor and Description |
---|
SpaceRemoteEvent()
Required for Externalizable
|
SpaceRemoteEvent(Object source,
long eventID,
long seqNum,
MarshalledObject handback)
Constructs a SpaceRemoteEvent object.
|
Modifier and Type | Method and Description |
---|---|
void |
readExternal(ObjectInput in)
Required for Externalizable
|
protected void |
readExternal(ObjectInput in,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
Reserved for internal usage.
|
void |
writeExternal(ObjectOutput out)
Required for Externalizable
|
protected void |
writeExternal(ObjectOutput out,
com.gigaspaces.internal.version.PlatformLogicalVersion version)
Reserved for internal usage.
|
getID, getRegistrationObject, getSequenceNumber
getSource, toString
protected static final String EMPTY_STRING
public SpaceRemoteEvent()
public SpaceRemoteEvent(Object source, long eventID, long seqNum, MarshalledObject handback)
The abstract state contained in a RemoteEvent object includes a reference to the object in which the event occurred, a long which identifies the kind of event relative to the object in which the event occurred, a long which indicates the sequence number of this instance of the event kind, and a MarshalledObject that is to be handed back when the notification occurs. The combination of the event identifier and the object reference obtained from the RemoteEvent object should uniquely identify the event type.
source
- an Object representing the event sourceeventID
- a long containing the event identifierseqNum
- a long containing the event sequence numberhandback
- a MarshalledObject that was passed in
as part of the original event registration.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
protected void writeExternal(ObjectOutput out, com.gigaspaces.internal.version.PlatformLogicalVersion version) throws IOException
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
protected void readExternal(ObjectInput in, com.gigaspaces.internal.version.PlatformLogicalVersion version) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © GigaSpaces.