public class SSLSocketFactory extends Object implements ServerSocketFactory
| Constructor and Description |
|---|
SSLSocketFactory()
Create the SSL socket factory.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createSocket(int port)
Create the socket at the specified port.
|
ServerSocket |
createSocket(int port,
int backlog)
Create the socket at the specified port.
|
ServerSocket |
createSocket(int port,
int backlog,
InetAddress ifAddress)
Create the socket at the specified port.
|
static void |
initStoresAtStartup() |
public SSLSocketFactory()
public ServerSocket createSocket(int port) throws IOException
createSocket in interface ServerSocketFactoryport - the port number.IOException - input/output or network errorpublic ServerSocket createSocket(int port, int backlog) throws IOException
createSocket in interface ServerSocketFactoryport - the port number.backlog - how many connections are queuedIOException - input/output or network errorpublic ServerSocket createSocket(int port, int backlog, InetAddress ifAddress) throws IOException
createSocket in interface ServerSocketFactoryport - the port number.backlog - how many connections are queuedifAddress - the network interface address to useIOException - input/output or network errorCopyright © 2017. All rights reserved.