public class FTPSServerSocketFactory
extends javax.net.ServerSocketFactory
构造器和说明 |
---|
FTPSServerSocketFactory(javax.net.ssl.SSLContext context) |
限定符和类型 | 方法和说明 |
---|---|
java.net.ServerSocket |
createServerSocket() |
java.net.ServerSocket |
createServerSocket(int port) |
java.net.ServerSocket |
createServerSocket(int port,
int backlog) |
java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.net.InetAddress ifAddress) |
java.net.ServerSocket |
init(java.net.ServerSocket socket)
Sets the socket so newly accepted connections will use SSL client mode.
|
public java.net.ServerSocket createServerSocket() throws java.io.IOException
createServerSocket
在类中 javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
createServerSocket
在类中 javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backlog) throws java.io.IOException
createServerSocket
在类中 javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket createServerSocket(int port, int backlog, java.net.InetAddress ifAddress) throws java.io.IOException
createServerSocket
在类中 javax.net.ServerSocketFactory
java.io.IOException
public java.net.ServerSocket init(java.net.ServerSocket socket)
socket
- the SSLServerSocket to initialisejava.lang.ClassCastException
- if socket is not an instance of SSLServerSocket