|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.BobCo.procman.ExecuteCommandSample
ExecuteCommandSample demonstrates one way of executing commands on agents. This sample shows how to asynchronously start notepad on a user specified machine.
Constructor Summary | |
---|---|
ExecuteCommandSample()
Constructor - Set up work queue to processes requests |
Method Summary | |
---|---|
void |
buildAndSendExecuteCommand()
Build the command to be executed and then execute it on the specified agent. |
void |
CommandComplete(com.tivoli.twg.libs.Command cmd)
Command complete method which overrides the method in the Command class. |
static void |
DisplayUsage()
Output to screen usage info |
static void |
main(java.lang.String[] args)
Main method. |
void |
serviceNodeClose()
Close service node |
void |
serviceNodeInit()
Create service node |
boolean |
startProcMgrService()
Start process manager agent service on the specified machine. |
void |
stopProcMgrService()
Stop ProcMgr service on specified agent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExecuteCommandSample()
Method Detail |
public static void main(java.lang.String[] args)
public static void DisplayUsage()
public void serviceNodeInit()
public void serviceNodeClose()
public boolean startProcMgrService()
public void stopProcMgrService()
public void buildAndSendExecuteCommand()
public void CommandComplete(com.tivoli.twg.libs.Command cmd)
CommandComplete
in interface com.tivoli.twg.libs.CommandCompleteListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |