Package | Description |
---|---|
org.jlab.coda.cMsg.remoteExec |
Modifier and Type | Method and Description |
---|---|
(package private) CommandReturn |
Commander.startProcess(ExecutorInfo exec,
java.lang.String cmd,
boolean monitor,
boolean wait,
CommandCallback callback,
java.lang.Object userObject,
int timeout)
Start an external process using the specified executor.
|
CommandReturn |
Commander.startProcess(ExecutorInfo exec,
java.lang.String cmd,
boolean monitor,
CommandCallback callback,
java.lang.Object userObject)
This method is an asynchronous means of starting an external process
using the specified executor.
|
CommandReturn |
Commander.startProcess(ExecutorInfo exec,
java.lang.String cmd,
boolean monitor,
int timeout)
This method is a synchronous means of starting an external process
using the specified executor and waiting for it to finish.
|
(package private) CommandReturn |
Commander.startThread(ExecutorInfo exec,
java.lang.String className,
boolean wait,
CommandCallback callback,
java.lang.Object userObject,
int timeout,
ConstructorInfo constructorArgs)
Starts an internal thread in the specified executor and immediately
returns.
|
(package private) CommandReturn |
Commander.startThread(ExecutorInfo exec,
java.lang.String className,
CommandCallback callback,
java.lang.Object userObject,
ConstructorInfo constructorArgs)
This method is an asynchronous means of starting an internal thread
in the specified executor and immediately returns.
|
CommandReturn |
Commander.startThread(ExecutorInfo exec,
java.lang.String className,
int timeout,
ConstructorInfo constructorArgs)
This method is a synchronous means of starting an internal thread
in the specified executor and waiting for it to finish.
|
CommandReturn |
Commander.startXterm(ExecutorInfo exec,
java.lang.String cmd,
java.lang.String geometry,
java.lang.String title)
Start an xterm and run the specified command in it using the specified executor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CommandReturn> |
Commander.startCommandInWindows(java.util.List<ExecutorInfo> executors,
java.lang.String command,
int widthChars,
int heightChars)
This method is example of how to make a bunch of identical xterm windows
fill the screen in a conveniently packed manner and run a single given command
in each of the xterms.
|
java.util.List<CommandReturn> |
Commander.startCommandsInWindows(java.util.List<ExecutorInfo> executors,
java.util.List<java.lang.String> commands,
int widthChars,
int heightChars)
This method is example of how to make a bunch of identical xterm windows
fill the screen in a conveniently packed manner and run a single, different
command in each of the xterms.
|
java.util.List<CommandReturn> |
Commander.startWindows(ExecutorInfo exec,
java.lang.String title,
int count,
int widthChars,
int heightChars)
This method is example of how to make a bunch of identical xterm windows
fill the screen in a conveniently packed manner.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandCallback.callback(java.lang.Object userObject,
CommandReturn commandReturn)
Callback method definition.
|
void |
Commander.cancelCallback(CommandReturn commandReturn)
Cancel a callback previously registered by calling
Commander.startProcess(ExecutorInfo, String, boolean, CommandCallback , Object) . |
void |
Commander.stop(ExecutorInfo exec,
CommandReturn commandReturn)
Stop the given process or thread on the specified executor.
|