Package com.jcraft.jsch
Interface Proxy
- All Known Implementing Classes:
ProxyHTTP
,ProxySOCKS4
,ProxySOCKS5
public interface Proxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
connect
(SocketFactory socket_factory, String host, int port, int timeout)
-
Method Details
-
connect
- Throws:
Exception
-
getInputStream
InputStream getInputStream() -
getOutputStream
OutputStream getOutputStream() -
getSocket
Socket getSocket() -
close
void close()
-