jsr.daemon.pausable
Interface PausableListener

All Superinterfaces:
DaemonListener

public interface PausableListener
extends DaemonListener

interface for supplying listener functionality to be bound to a pausable daemon


Method Summary
 void paused(Pausable pausable, boolean paused, java.lang.Throwable throwable)
          method called by a pausable daemon if pause state changes
 
Methods inherited from interface jsr.daemon.DaemonListener
active
 

Method Detail

paused

public void paused(Pausable pausable,
                   boolean paused,
                   java.lang.Throwable throwable)
method called by a pausable daemon if pause state changes
Parameters:
pausable - the pausable daemon changing its pause state
paused - flag indicating the target pause state
throwable - a throwable for indicating a possible exception