public class RemoteEventBusPacket extends BusPacket<SpaceDataEventDispatcher>
| Constructor and Description |
|---|
RemoteEventBusPacket(ITemplateHolder templateHolder,
RemoteEvent re,
int TTL,
NotifyContext notifyContext,
boolean fromReplication)
Construct a mobile remote event instance, by instantiating a bus packet and attaching it a
remote event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterBatching() |
void |
execute(SpaceDataEventDispatcher dispatcher) |
RemoteEvent |
getRemoteEvent() |
NotifyContext |
getStatus() |
int |
getTTL() |
boolean |
isAfterBatching() |
boolean |
isFromReplication() |
void |
notifyListener()
Send notification to the client
|
void |
setTTL(int tTL) |
clear, constructBusPacket, getCreationTime, getEntryHolder, getOperationID, getTimeout, getTransaction, setOperationIDacquire, isAcquired, isFromPool, release, setAcquired, setFromPoolpublic RemoteEventBusPacket(ITemplateHolder templateHolder, RemoteEvent re, int TTL, NotifyContext notifyContext, boolean fromReplication)
public void afterBatching()
public boolean isAfterBatching()
public RemoteEvent getRemoteEvent()
public void setTTL(int tTL)
tTL - the tTL to setpublic int getTTL()
public NotifyContext getStatus()
public void execute(SpaceDataEventDispatcher dispatcher) throws Exception
execute in class BusPacket<SpaceDataEventDispatcher>Exceptionpublic void notifyListener()
throws RemoteException,
UnknownEventException
RemoteExceptionUnknownEventExceptionpublic boolean isFromReplication()
Copyright © GigaSpaces.