Interface Forwarder

All Superinterfaces:
Serializable

public interface Forwarder extends Serializable
Abstracts away how the forwarding is set up.
Author:
Kohsuke Kawaguchi
  • Method Summary

    Modifier and Type
    Method
    Description
    Establishes a port forwarding connection and returns the writer end.
  • Method Details

    • 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