com.jcraft.jsch

Interface SocketFactory

public interface SocketFactory

Method Summary

Socket
createSocket(String host, int port)
InputStream
getInputStream(Socket socket)
OutputStream
getOutputStream(Socket socket)

Method Details

createSocket

public Socket createSocket(String host,
                           int port)
            throws IOException,
                   UnknownHostException

getInputStream

public InputStream getInputStream(Socket socket)
            throws IOException

getOutputStream

public OutputStream getOutputStream(Socket socket)
            throws IOException