RSE
Release 1.0

org.eclipse.rse.connectorservice.ssh
Class SshConnectorService.SimpleSocketFactory

java.lang.Object
  extended byorg.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


Constructor Summary
SshConnectorService.SimpleSocketFactory()
           
 
Method Summary
 Socket createSocket(String host, int port)
           
 InputStream getInputStream(Socket socket)
           
 OutputStream getOutputStream(Socket socket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshConnectorService.SimpleSocketFactory

public SshConnectorService.SimpleSocketFactory()
Method Detail

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

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.