hudson.remoting.forward
Interface Forwarder

All Superinterfaces:
java.io.Serializable

public interface Forwarder
extends java.io.Serializable

Abstracts away how the forwarding is set up.

Author:
Kohsuke Kawaguchi

Method Summary
 java.io.OutputStream connect(java.io.OutputStream out)
          Establishes a port forwarding connection and returns the writer end.
 

Method Detail

connect

java.io.OutputStream connect(java.io.OutputStream out)
                             throws java.io.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:
java.io.IOException


Copyright © 2012. All Rights Reserved.