Package com.gigaspaces.events
Class SpaceRemoteEvent
java.lang.Object
java.util.EventObject
net.jini.core.event.RemoteEvent
com.gigaspaces.events.SpaceRemoteEvent
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
EntryArrivedRemoteEvent
Base class for space remote events.
- Since:
- 8.0.4
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
FieldsFields inherited from class net.jini.core.event.RemoteEvent
eventID, handback, seqNum, source -
Constructor Summary
ConstructorsConstructorDescriptionRequired for ExternalizableSpaceRemoteEvent(Object source, long eventID, long seqNum, MarshalledObject handback) Constructs a SpaceRemoteEvent object. -
Method Summary
Modifier and TypeMethodDescriptionvoidRequired for Externalizableprotected voidreadExternal(ObjectInput in, PlatformLogicalVersion version) Reserved for internal usage.voidRequired for Externalizableprotected voidwriteExternal(ObjectOutput out, PlatformLogicalVersion version) Reserved for internal usage.Methods inherited from class net.jini.core.event.RemoteEvent
getID, getRegistrationObject, getSequenceNumberMethods inherited from class java.util.EventObject
getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
EMPTY_STRING
- See Also:
-
-
Constructor Details
-
SpaceRemoteEvent
public SpaceRemoteEvent()Required for Externalizable -
SpaceRemoteEvent
Constructs a SpaceRemoteEvent object.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.
- Parameters:
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.
-
-
Method Details
-
writeExternal
Required for Externalizable- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
writeExternal
Reserved for internal usage.- Throws:
IOException
-
readExternal
Required for Externalizable- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readExternal
protected void readExternal(ObjectInput in, PlatformLogicalVersion version) throws IOException, ClassNotFoundException Reserved for internal usage.- Throws:
IOExceptionClassNotFoundException
-