KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > remoting > Callable


1 package hudson.remoting;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  * Represents computation to be done on a remote system.
7  *
8  * @see Channel
9  * @author Kohsuke Kawaguchi
10  */

11 public interface Callable<V,T extends Throwable JavaDoc> extends Serializable JavaDoc {
12     /**
13      * Performs computation and returns the result,
14      * or throws some exception.
15      */

16     V call() throws T;
17 }
18
Popular Tags