public static class RemoteServiceManagementService.TimeoutTimerTask
extends java.util.TimerTask
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
callid |
protected boolean |
cancelled |
protected jadex.commons.future.Future<?> |
future |
protected jadex.bridge.IComponentIdentifier |
receiver |
protected RemoteServiceManagementService |
rms |
protected long |
timeout |
Constructor and Description |
---|
TimeoutTimerTask(long timeout,
jadex.commons.future.Future<?> future,
java.lang.String callid,
jadex.bridge.IComponentIdentifier receiver,
RemoteServiceManagementService rms)
Create a new timer task.
|
TimeoutTimerTask(RemoteServiceManagementService.TimeoutTimerTask tt)
Create a new timer task.
|
Modifier and Type | Method and Description |
---|---|
boolean |
cancel() |
boolean |
isCancelled() |
void |
run()
Run the task.
|
void |
start()
Start the timer task.
|
protected jadex.commons.future.Future<?> future
protected java.lang.String callid
protected jadex.bridge.IComponentIdentifier receiver
protected RemoteServiceManagementService rms
protected long timeout
protected boolean cancelled
public TimeoutTimerTask(long timeout, jadex.commons.future.Future<?> future, java.lang.String callid, jadex.bridge.IComponentIdentifier receiver, RemoteServiceManagementService rms)
public TimeoutTimerTask(RemoteServiceManagementService.TimeoutTimerTask tt)
public void start()
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
public boolean cancel()
cancel
in class java.util.TimerTask
public boolean isCancelled()