org.eclipse.rse.connectorservice.ssh
Class SshConnectorService.SimpleSocketFactory
java.lang.Object
org.eclipse.rse.connectorservice.ssh.SshConnectorService.SimpleSocketFactory
- All Implemented Interfaces:
- com.jcraft.jsch.SocketFactory
- Direct Known Subclasses:
- SshConnectorService.ResponsiveSocketFactory
- Enclosing class:
- SshConnectorService
- public static class SshConnectorService.SimpleSocketFactory
- extends Object
- implements com.jcraft.jsch.SocketFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SshConnectorService.SimpleSocketFactory
public SshConnectorService.SimpleSocketFactory()
createSocket
public Socket createSocket(String host,
int port)
throws IOException,
UnknownHostException
- Specified by:
createSocket in interface com.jcraft.jsch.SocketFactory
- Throws:
IOException
UnknownHostException
getInputStream
public InputStream getInputStream(Socket socket)
throws IOException
- Specified by:
getInputStream in interface com.jcraft.jsch.SocketFactory
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream(Socket socket)
throws IOException
- Specified by:
getOutputStream in interface com.jcraft.jsch.SocketFactory
- Throws:
IOException
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.