|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectappl.parallel.services.RemoteEventProxy
public class RemoteEventProxy
Delays events and fires them after the delay all at once in one object (this will save communication time)
Constructor Summary | |
---|---|
RemoteEventProxy(CommEventSink targetSink,
long delay)
Creates a new proxy |
Method Summary | |
---|---|
void |
fireRemoteEvent(RemoteEvent e)
|
void |
fireRemoteEvents(RemoteEvent[] e)
|
boolean |
isRunning()
|
boolean |
isTimeMonitoringEnabled()
|
boolean |
isTransferMonitoringEnabled()
|
void |
startService()
Starts the service |
void |
stopService()
Stops the service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteEventProxy(CommEventSink targetSink, long delay)
targetSink
- the sink where the events should be submitted todelay
- the delay (in milliseconds)Method Detail |
---|
public void fireRemoteEvent(RemoteEvent e) throws RemoteException
fireRemoteEvent
in interface RemoteEventSink
RemoteException
public void fireRemoteEvents(RemoteEvent[] e) throws RemoteException
fireRemoteEvents
in interface RemoteEventSink
RemoteException
public boolean isRunning()
isRunning
in interface Service
public boolean isTimeMonitoringEnabled() throws RemoteException
isTimeMonitoringEnabled
in interface CommEventSink
RemoteException
public boolean isTransferMonitoringEnabled() throws RemoteException
isTransferMonitoringEnabled
in interface CommEventSink
RemoteException
public void startService()
Service
startService
in interface Service
public void stopService()
Service
stopService
in interface Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |