public interface CommandCallback
Modifier and Type | Method and Description |
---|---|
void |
callback(java.lang.Object userObject,
CommandReturn commandReturn)
Callback method definition.
|
void callback(java.lang.Object userObject, CommandReturn commandReturn)
userObject
- user object passed as an argument to Commander.startProcess(org.jlab.coda.cMsg.remoteExec.ExecutorInfo, java.lang.String, boolean, org.jlab.coda.cMsg.remoteExec.CommandCallback, java.lang.Object)
or Commander.startThread(org.jlab.coda.cMsg.remoteExec.ExecutorInfo, java.lang.String, org.jlab.coda.cMsg.remoteExec.CommandCallback, java.lang.Object, org.jlab.coda.cMsg.remoteExec.ConstructorInfo)
with the purpose of being passed
on to this callback.commandReturn
- object returned from call to startProcess or startThread
method (which registered this callback) which was updated
just before being passed to this method.