org.apache.commons.net.ftp
Class FTPSSocketFactory
java.lang.Object
   javax.net.SocketFactory
javax.net.SocketFactory
       org.apache.commons.net.ftp.FTPSSocketFactory
org.apache.commons.net.ftp.FTPSSocketFactory
- public class FTPSSocketFactory 
- extends SocketFactory
Implementation of org.apache.commons.net.SocketFactory
- Since:
- 2.0
 
| Method Summary | 
|  ServerSocket | createServerSocket(int port)
 | 
|  ServerSocket | createServerSocket(int port,
                                     int backlog)
 | 
|  ServerSocket | createServerSocket(int port,
                                     int backlog,
                                     InetAddress ifAddress)
 | 
|  Socket | createSocket(InetAddress address,
                         int port)
 | 
|  Socket | createSocket(InetAddress address,
                         int port,
                         InetAddress localAddress,
                         int localPort)
 | 
|  Socket | createSocket(String address,
                         int port)
 | 
|  Socket | createSocket(String address,
                         int port,
                         InetAddress localAddress,
                         int localPort)
 | 
|  ServerSocket | init(ServerSocket socket)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FTPSSocketFactory
public FTPSSocketFactory(SSLContext context)
createSocket
public Socket createSocket(String address,
                           int port)
                    throws UnknownHostException,
                           IOException
- 
- Specified by:
- createSocketin class- SocketFactory
 
- 
- Throws:
- UnknownHostException
- IOException
 
createSocket
public Socket createSocket(InetAddress address,
                           int port)
                    throws IOException
- 
- Specified by:
- createSocketin class- SocketFactory
 
- 
- Throws:
- IOException
 
createSocket
public Socket createSocket(String address,
                           int port,
                           InetAddress localAddress,
                           int localPort)
                    throws UnknownHostException,
                           IOException
- 
- Specified by:
- createSocketin class- SocketFactory
 
- 
- Throws:
- UnknownHostException
- IOException
 
createSocket
public Socket createSocket(InetAddress address,
                           int port,
                           InetAddress localAddress,
                           int localPort)
                    throws IOException
- 
- Specified by:
- createSocketin class- SocketFactory
 
- 
- Throws:
- IOException
 
createServerSocket
public ServerSocket createServerSocket(int port)
                                throws IOException
- 
- Throws:
- IOException
 
createServerSocket
public ServerSocket createServerSocket(int port,
                                       int backlog)
                                throws IOException
- 
- Throws:
- IOException
 
createServerSocket
public ServerSocket createServerSocket(int port,
                                       int backlog,
                                       InetAddress ifAddress)
                                throws IOException
- 
- Throws:
- IOException
 
init
public ServerSocket init(ServerSocket socket)
                  throws IOException
- 
- Throws:
- IOException
 
Copyright © 1997-2008 The Apache Software Foundation. All Rights Reserved.