|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGRemoteTaskClients
This class maintains the list of clients for a task activation in a remote task server (i.e. running in a JVM besides the core engine's JVM). The clients that are off line will have an initial task status of either CLIENT_TASK_PENDING or CLIENT_TASK_FAILED_OFFLINE depending on how the task was activated. If this is a scheduled job configured to watch for off-line target systems to come on-line, then subsequent subtask activations will occur for those stations with them marked as online and started. So, for this activation, the task server should only be concerned with processing clients that are on-line and had the client task sucessfully started.
Method Summary | |
---|---|
java.util.Enumeration |
enumerateClients()
Get an enumeration of the clients in this collection. |
TWGRemoteTaskActivation |
getActivation()
|
TWGRemoteManagedObject |
getClient(long moid)
Retrieve a TWGRemoteManagedObject from this collection or null if the specified ID is not included. |
void |
setClientTaskStatus(long moid,
int status)
Set the client task status on the specified client |
void |
setClientTaskStatus(TWGRemoteManagedObject rmo,
int status)
Set the client task status on the specified client |
int |
size()
Get the number of clients in this collection. |
void |
stopClient(long moid,
int status)
Stop the client task on the specified client. |
void |
stopClient(TWGRemoteManagedObject rmo,
int status)
Stop the client task on the specified client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public TWGRemoteManagedObject getClient(long moid)
public java.util.Enumeration enumerateClients()
public int size()
public TWGRemoteTaskActivation getActivation()
public final void stopClient(long moid, int status)
moid
- the ID of the remote managed object to stop the task onstatus
- final status to give the remote managed object for the
task processing. Use one of the following constants
from TWGTaskConstants for the status:
public final void stopClient(TWGRemoteManagedObject rmo, int status)
rmo
- remote managed object to stop the task onstatus
- final status to give the remote managed object for the
task processing. Use one of the following constants
from TWGTaskConstants for the status:
public final void setClientTaskStatus(TWGRemoteManagedObject rmo, int status)
rmo
- remote managed object to set the status onstatus
- final status to give the remote managed object for the
task processing. Use one of the following constants
from TWGTaskConstants for the status:
public final void setClientTaskStatus(long moid, int status)
moid
- ID of remote managed object to set the status onstatus
- final status to give the remote managed object for the
task processing. Use one of the following constants
from TWGTaskConstants for the status:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |