KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > remoting > UnexportCommand


1 package hudson.remoting;
2
3 /**
4  * {@link Command} that unexports an object.
5  * @author Kohsuke Kawaguchi
6  */

7 public class UnexportCommand extends Command {
8     private final int oid;
9
10     public UnexportCommand(int oid) {
11         this.oid = oid;
12     }
13
14     protected void execute(Channel channel) {
15         channel.unexport(oid);
16     }
17
18     private static final long serialVersionUID = 1L;
19 }
20
Popular Tags