com.jcraft.jsch.Proxy Interface Reference

Allows routing connections through some proxy. More...

Inheritance diagram for com.jcraft.jsch.Proxy:
Inheritance graph
[legend]

Detailed Description

Allows routing connections through some proxy.

A Proxy object creates a Socket and it's two streams for a remote server. It typically does this by first connecting to a proxy server, negiotiating some conditions (or providing a password) and then returning the streams as the connection will be forwarded to the target host.

The library (i.e. Session) uses a proxy only if given with setProxy before connecting. When connecting, it will use the methods defined in this interface (except close), and it will invoke close on disconnecting.

Some implementing classes for common proxy types are delivered with the library: ProxyHTTP, ProxySOCKS4, ProxySOCKS5. An application might also create their own implementations and provide these to the session before connecting.

See also:
Session.setProxy

Definition at line 57 of file Proxy.java.


The documentation for this interface was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1