public class SshProxy extends 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,
String host,
int port,
int timeout) |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
Socket |
getSocket() |
String |
toString() |
public SshProxy(SessionFactory sessionFactory) throws com.jcraft.jsch.JSchException
com.jcraft.jsch.JSchException
public void close()
close
in interface com.jcraft.jsch.Proxy
public void connect(com.jcraft.jsch.SocketFactory socketFactory, String host, int port, int timeout) throws Exception
connect
in interface com.jcraft.jsch.Proxy
Exception
public InputStream getInputStream()
getInputStream
in interface com.jcraft.jsch.Proxy
public OutputStream getOutputStream()
getOutputStream
in interface com.jcraft.jsch.Proxy
public Socket getSocket()
getSocket
in interface com.jcraft.jsch.Proxy
Copyright © 2016 pastdev.com. All Rights Reserved.