public class SocketFactoryManager extends Object implements Configurable
Modifier and Type | Field and Description |
---|---|
static String |
SERVER_SOCKET_FACTORY |
static String |
SOCKET_FACTORY |
static String |
SSL_LISTENER
SSL_LISTENER should be a classname for the implementation of the
SSL listener interface. |
static String |
SSL_SERVER_SOCKET_FACTORY |
static String |
SSL_SOCKET_FACTORY |
static String |
SUPPORT_SSL |
static String |
TCP_LISTENER
TCP_LISTENER should be a classname for the implementation of the
TCP listener interface. |
Constructor and Description |
---|
SocketFactoryManager() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration config) |
ServerSocketFactory |
getServerSocketFactory() |
SocketFactory |
getSocketFactory() |
SSLSessionListener |
getSSLListener()
getSSLListener provides an accessor for the instantiated
SSLConnectionListener. |
ServerSocketFactory |
getSSLServerSocketFactory() |
SocketFactory |
getSSLSocketFactory()
getSSLSocketFactory returns a SSL socket factory. |
TCPConnectionListener |
getTCPListener()
getTCPListener provides an accessor for the instantiated
TCPConnectionListener. |
public static final String SUPPORT_SSL
public static final String SOCKET_FACTORY
public static final String SERVER_SOCKET_FACTORY
public static final String SSL_SOCKET_FACTORY
public static final String SSL_SERVER_SOCKET_FACTORY
public static final String TCP_LISTENER
TCP_LISTENER
should be a classname for the implementation of the
TCP listener interface.public static final String SSL_LISTENER
SSL_LISTENER
should be a classname for the implementation of the
SSL listener interface.public void configure(Configuration config) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public SocketFactory getSocketFactory()
public ServerSocketFactory getServerSocketFactory()
public ServerSocketFactory getSSLServerSocketFactory()
public SocketFactory getSSLSocketFactory()
getSSLSocketFactory
returns a SSL socket factory.SocketFactory
valuepublic TCPConnectionListener getTCPListener()
getTCPListener
provides an accessor for the instantiated
TCPConnectionListener.public SSLSessionListener getSSLListener()
getSSLListener
provides an accessor for the instantiated
SSLConnectionListener.Copyright © 2017 JacORB. All rights reserved.