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 the ProcessTree.OSProcess is local. Used to act on ProcessTree.OSProcess.

See Also:
OSProcess#act(ProcessCallable)

Method Summary
 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 the Channel that represents the communication with the node from where the code was sent.
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.