|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.jini.core.event.RemoteEvent com.j_spaces.core.client.EntryArrivedRemoteEvent
public class EntryArrivedRemoteEvent
An EntryArrivedRemoteEvent is sent to a NotifyDelegator object when an entry that matches the delegator's template enters a GigaSpace.
NotifyDelegator
,
Serialized FormConstructor Summary | |
---|---|
EntryArrivedRemoteEvent()
Empty constructor. |
|
EntryArrivedRemoteEvent(IJSpace source,
long eventID,
long seqNum,
MarshalledObject handback,
com.j_spaces.core.EntryPacket entryPacket,
int notifyType)
Constructs a EntryArrivedRemoteEvent object. |
Method Summary | |
---|---|
Object |
clone()
Returns a shallow copy of this EntryArrivedRemoteEvent instance. |
Entry |
getEntry()
Deprecated. |
Entry |
getEntry(boolean getExternalEntry)
Deprecated. |
ExternalEntry |
getExternalEntry()
Returns the ExternalEntry that triggered the specified remote event. |
int |
getNotifyType()
Returns a notify type of this event. |
Object |
getObject()
Returns the entry by specification of user. |
MarshalledObject |
getRegistrationObject()
|
Object |
getSource()
|
Uuid |
getSpaceUuid()
Returns the unique uid of the space the event originated from. |
void |
readExternal(ObjectInput in)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
. |
Methods inherited from class net.jini.core.event.RemoteEvent |
---|
getID, getSequenceNumber |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntryArrivedRemoteEvent()
public EntryArrivedRemoteEvent(IJSpace source, long eventID, long seqNum, MarshalledObject handback, com.j_spaces.core.EntryPacket entryPacket, int notifyType)
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.entryPacket
- an internal GigaSpaces structure to send/receive entries from the space.notifyType
- the type of the method that cause this notify. see NotifyModifiers
Method Detail |
---|
public Object getSource()
getSource
in class EventObject
public Uuid getSpaceUuid()
public ExternalEntry getExternalEntry() throws UnusableEntryException
UnusableEntryException
- One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.@Deprecated public Entry getEntry(boolean getExternalEntry) throws UnusableEntryException
getExternalEntry
- if true
this method will return ExternalEntry, otherwise Entry Object.
UnusableEntryException
- One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.@Deprecated public Entry getEntry() throws UnusableEntryException
UnusableEntryException
- One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.public Object getObject() throws UnusableEntryException
UnusableEntryException
- One or more fields in the entry cannot be
deserialized, or the class for the entry type
itself cannot be deserialized.public int getNotifyType()
public MarshalledObject getRegistrationObject()
getRegistrationObject
in class RemoteEvent
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public Object clone()
clone
in class Object
public String toString()
toString
in class EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |