public class SshProxy
extends java.lang.Object
implements com.jcraft.jsch.Proxy
| Constructor and Description |
|---|
SshProxy(SessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
connect(com.jcraft.jsch.SocketFactory socketFactory,
java.lang.String host,
int port,
int timeout) |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
java.net.Socket |
getSocket() |
java.lang.String |
toString() |
public SshProxy(SessionFactory sessionFactory) throws com.jcraft.jsch.JSchException
com.jcraft.jsch.JSchExceptionpublic void close()
close in interface com.jcraft.jsch.Proxypublic void connect(com.jcraft.jsch.SocketFactory socketFactory,
java.lang.String host,
int port,
int timeout)
throws java.lang.Exception
connect in interface com.jcraft.jsch.Proxyjava.lang.Exceptionpublic java.io.InputStream getInputStream()
getInputStream in interface com.jcraft.jsch.Proxypublic java.io.OutputStream getOutputStream()
getOutputStream in interface com.jcraft.jsch.Proxypublic java.net.Socket getSocket()
getSocket in interface com.jcraft.jsch.Proxypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 pastdev.com. All Rights Reserved.