Package hudson.remoting.forward
Interface Forwarder
-
- All Superinterfaces:
Serializable
public interface Forwarder extends Serializable
Abstracts away how the forwarding is set up.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputStream
connect(OutputStream out)
Establishes a port forwarding connection and returns the writer end.
-
-
-
Method Detail
-
connect
OutputStream connect(OutputStream out) throws IOException
Establishes a port forwarding connection and returns the writer end.- Parameters:
out
- The writer end to the initiator. The callee will start a thread that writes to this.- Throws:
IOException
-
-