Package hudson.util
Interface ProcessTree.ProcessCallable<T>
-
- All Superinterfaces:
Serializable
- Enclosing class:
- ProcessTree
public static interface ProcessTree.ProcessCallable<T> extends Serializable
Code that gets executed on the machine where theProcessTree.OSProcess
is local. Used to act onProcessTree.OSProcess
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
invoke(ProcessTree.OSProcess process, hudson.remoting.VirtualChannel channel)
Performs the computational task on the node where the data is located.
-
-
-
Method Detail
-
invoke
T invoke(ProcessTree.OSProcess process, hudson.remoting.VirtualChannel channel) throws IOException
Performs the computational task on the node where the data is located.- Parameters:
process
-ProcessTree.OSProcess
that represents the local process.channel
- The "back pointer" of theChannel
that represents the communication with the node from where the code was sent.- Throws:
IOException
-
-