public class SSLServerSocketFactory extends SSLRandom implements ServerSocketFactory, Configurable
| Constructor and Description |
|---|
SSLServerSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
ServerSocket |
createServerSocket(int port) |
ServerSocket |
createServerSocket(int port,
int backlog)
Returns a server socket which uses all network interfaces on
the host, and is bound to the specified port.
|
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress ifAddress)
Returns a server socket which uses all network interfaces on
the host, is bound to a the specified port, and uses the
specified connection backlog.
|
boolean |
isSSL(ServerSocket s) |
getSecureRandompublic void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class SSLRandomConfigurationExceptionpublic ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface ServerSocketFactoryIOExceptionpublic ServerSocket createServerSocket(int port, int backlog) throws IOException
ServerSocketFactorycreateServerSocket in interface ServerSocketFactoryport - - the port to listen tobacklog - - how many connections are queuedIOException - - for networking errorspublic ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
ServerSocketFactorycreateServerSocket in interface ServerSocketFactoryport - - the port to listen tobacklog - - how many connections are queuedIOException - - for networking errorspublic boolean isSSL(ServerSocket s)
Copyright © 2017 JacORB. All rights reserved.