com.jcraft.jsch

Interface Proxy

Known Implementing Classes:
ProxyHTTP, ProxySOCKS4, ProxySOCKS5

public interface Proxy

Method Summary

void
close()
void
connect(SocketFactory socket_factory, String host, int port, int timeout)
InputStream
getInputStream()
OutputStream
getOutputStream()
Socket
getSocket()

Method Details

close

public void close()

connect

public void connect(SocketFactory socket_factory,
                    String host,
                    int port,
                    int timeout)
            throws Exception

getInputStream

public InputStream getInputStream()

getOutputStream

public OutputStream getOutputStream()

getSocket

public Socket getSocket()