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) |
getSecureRandom
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class SSLRandom
ConfigurationException
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface ServerSocketFactory
IOException
public ServerSocket createServerSocket(int port, int backlog) throws IOException
ServerSocketFactory
createServerSocket
in interface ServerSocketFactory
port
- - the port to listen tobacklog
- - how many connections are queuedIOException
- - for networking errorspublic ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException
ServerSocketFactory
createServerSocket
in interface ServerSocketFactory
port
- - the port to listen tobacklog
- - how many connections are queuedIOException
- - for networking errorspublic boolean isSSL(ServerSocket s)
Copyright © 2017 JacORB. All rights reserved.