com.tivoli.twg.engine
Class TWGLocalTaskClients

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGLocalTaskClients

public class TWGLocalTaskClients
extends java.lang.Object

This class is used to manage the list of clients to start and stop for a task activation.


Method Summary
 boolean areClientsActive()
          See if any clients are active.
 java.lang.Object[] getAllClients()
          Retrieve an Object array where each element in the array is a TWGLocalManagedObject that is part of the client set.
 boolean hadClientErrors()
          Determine if any of the clients had errors during the client task activation/deactivation.
 void setClientTaskStatus(long moid, int status)
          Set a client's task status and fire an status change notification to the task activation.
 void setClientTaskStatus(TWGLocalManagedObject lmo, int status)
          Set a client's task status and fire an status change notification to the task activation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setClientTaskStatus

public void setClientTaskStatus(long moid,
                                int status)
Set a client's task status and fire an status change notification to the task activation.

Parameters:
moid - the managed object ID of the TWGLocalManaged to set the status of
status - the new status for the lmo

setClientTaskStatus

public void setClientTaskStatus(TWGLocalManagedObject lmo,
                                int status)
Set a client's task status and fire an status change notification to the task activation.

Parameters:
lmo - the TWGLocalManagedObject to set the status of
status - the new status for the lmo

areClientsActive

public boolean areClientsActive()
See if any clients are active.


getAllClients

public java.lang.Object[] getAllClients()
Retrieve an Object array where each element in the array is a TWGLocalManagedObject that is part of the client set.

Returns:
Object[]

hadClientErrors

public boolean hadClientErrors()
Determine if any of the clients had errors during the client task activation/deactivation.

Returns:
boolean