com.tivoli.twg.engine
Interface RemoteTaskActivationListener


public interface RemoteTaskActivationListener

This interface must be implemented in order for code running in a JVM other than the core engine's JVM to receive task activations and deactivations.


Method Summary
 void serverDeactivated()
          The task server has been deactivated and any clean up required should be done during this method.
 void taskActivated(TWGRemoteTaskActivation act)
          This method is called when a subtask activation has occurred.
 void taskDeactivated(TWGRemoteTaskActivation act)
          This method is called when a subtask deactivation has occurred.
 

Method Detail

taskActivated

public void taskActivated(TWGRemoteTaskActivation act)
This method is called when a subtask activation has occurred.

Parameters:
act - the TWGRemoteTaskActivation object containing the task activation information.

taskDeactivated

public void taskDeactivated(TWGRemoteTaskActivation act)
This method is called when a subtask deactivation has occurred.

Parameters:
act - the TWGRemoteTaskActivation object containing the task activation information. This is the same object that was passed to the taskActivated() method.

serverDeactivated

public void serverDeactivated()
The task server has been deactivated and any clean up required should be done during this method. After this method is called, the task server's JVM will terminate.