Class RemoteEventBusPacket
java.lang.Object
com.j_spaces.kernel.pool.Resource
com.j_spaces.core.server.processor.BusPacket<SpaceDataEventDispatcher>
com.gigaspaces.internal.server.space.events.RemoteEventBusPacket
- All Implemented Interfaces:
IResource
- Direct Known Subclasses:
RemoteEventBatchBusPacket
A RemoteEventBusPacket represents a remote event that should be sent to a remote listener.
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteEventBusPacket(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. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidexecute(SpaceDataEventDispatcher dispatcher) intgetTTL()booleanbooleanvoidSend notification to the clientvoidsetTTL(int tTL) Methods inherited from class com.j_spaces.core.server.processor.BusPacket
clear, constructBusPacket, getCreationTime, getEntryHolder, getOperationID, getTimeout, getTransaction, setOperationIDMethods inherited from class com.j_spaces.kernel.pool.Resource
acquire, isAcquired, isFromPool, release, setAcquired, setFromPool
-
Constructor Details
-
RemoteEventBusPacket
public 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.
-
-
Method Details
-
afterBatching
public void afterBatching() -
isAfterBatching
public boolean isAfterBatching() -
getRemoteEvent
- Returns:
- the remoteEvent
-
setTTL
public void setTTL(int tTL) - Parameters:
tTL- the tTL to set
-
getTTL
public int getTTL()- Returns:
- the tTL
-
getStatus
- Returns:
- the status
-
execute
- Specified by:
executein classBusPacket<SpaceDataEventDispatcher>- Throws:
Exception
-
notifyListener
Send notification to the client- Throws:
RemoteExceptionUnknownEventException
-
isFromReplication
public boolean isFromReplication()- Returns:
-