Class TimerTaskAdapter.InternalTimerTask

  extended by net.sf.asyncobjects.AsyncUnicastServer<ATimerTask>
      extended by net.sf.asyncobjects.util.timer.TimerTaskAdapter.InternalTimerTask
All Implemented Interfaces:
AsyncObject, ExplicitSharing, ATimerTask
Enclosing class:

public final class TimerTaskAdapter.InternalTimerTask
extends AsyncUnicastServer<ATimerTask>
implements ATimerTask

Internal class that acutally implemetns interface

Method Summary
 void accepted(ACallable<Boolean> cancelAction)
          This method is called when task were accepted to timer
 void run(long scheduledExecutionTime)
          Run the task
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate

Method Detail


public void run(long scheduledExecutionTime)
Description copied from interface: ATimerTask
Run the task

Specified by:
run in interface ATimerTask
scheduledExecutionTime - a time when the task was scheduled. it might be used to check if the task is too late.
See Also:


public void accepted(ACallable<Boolean> cancelAction)
Description copied from interface: ATimerTask
This method is called when task were accepted to timer

Specified by:
accepted in interface ATimerTask
See Also:

Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.