public class FTPSSocketFactory extends SocketFactory
Constructor and Description |
---|
FTPSSocketFactory(SSLContext context) |
Modifier and Type | Method and Description |
---|---|
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) |
createSocket, getDefault
public FTPSSocketFactory(SSLContext context)
public Socket createSocket(String address, int port) throws UnknownHostException, IOException
createSocket
in class SocketFactory
UnknownHostException
IOException
public Socket createSocket(InetAddress address, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String address, int port, InetAddress localAddress, int localPort) throws UnknownHostException, IOException
createSocket
in class SocketFactory
UnknownHostException
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public ServerSocket createServerSocket(int port) throws IOException
IOException
public ServerSocket createServerSocket(int port, int backlog) throws IOException
IOException
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
IOException
public ServerSocket init(ServerSocket socket) throws IOException
IOException
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.