|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.proxies.tcp.TcpProxyService
org.objectweb.joram.mom.proxies.tcp.SSLTcpProxyService
public class SSLTcpProxyService
Starts a SSLTCP entry point for MOM clients.
Field Summary | |
---|---|
private static java.lang.String |
CIPHER
|
private static java.lang.String |
KS
|
private static java.lang.String |
KS_PASS
|
private static java.lang.String |
KS_TYPE
|
static org.objectweb.util.monolog.api.Logger |
logger
logger |
private static java.lang.String |
MBEAN_NAME
|
private static SSLTcpProxyService |
proxyService
The proxy service reference (used to stop it). |
private static java.lang.String |
SSLCONTEXT
|
Fields inherited from class org.objectweb.joram.mom.proxies.tcp.TcpProxyService |
---|
address, backlog, BACKLOG_PROP, DEFAULT_BACKLOG, DEFAULT_BINDADDRESS, DEFAULT_POOL_SIZE, DEFAULT_PORT, DEFAULT_SO_TIMEOUT, POOL_SIZE_PROP, port, SO_TIMEOUT_PROP |
Constructor Summary | |
---|---|
SSLTcpProxyService(int port,
int backlog,
java.lang.String address)
|
Method Summary | |
---|---|
protected java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.lang.String address)
Initialize the listening socket. |
private static javax.net.ServerSocketFactory |
createServerSocketFactory()
|
private static java.lang.String[] |
getCipherList()
|
java.lang.String |
getMBeanName()
Gets the name of the MBean. |
static void |
init(java.lang.String args,
boolean firstTime)
Initializes the SSLTCP entry point by creating a ssl server socket listening to the specified port. |
Methods inherited from class org.objectweb.joram.mom.proxies.tcp.TcpProxyService |
---|
activate, closeAllConnections, deactivate, getConnection, getFailedLoginCount, getInitiatedConnectionCount, getProtocolErrorCount, getRunningConnectionsCount, getServerAddress, getServerSocket, getTcpListenersPoolSize, isActivated, registerConnection, resetServerSocket, start, stopService, unregisterConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
private static final java.lang.String CIPHER
private static final java.lang.String KS
private static final java.lang.String KS_PASS
private static final java.lang.String KS_TYPE
private static final java.lang.String SSLCONTEXT
private static final java.lang.String MBEAN_NAME
private static SSLTcpProxyService proxyService
Constructor Detail |
---|
public SSLTcpProxyService(int port, int backlog, java.lang.String address) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public static void init(java.lang.String args, boolean firstTime) throws java.lang.Exception
args
- stringified listening portfirstTime
- true
when the agent server starts.
java.lang.Exception
public java.lang.String getMBeanName()
ConnectionManagerMBean
getMBeanName
in interface ConnectionManagerMBean
getMBeanName
in class TcpProxyService
private static javax.net.ServerSocketFactory createServerSocketFactory() throws java.lang.Exception
java.lang.Exception
protected java.net.ServerSocket createServerSocket(int port, int backlog, java.lang.String address) throws java.lang.Exception
TcpProxyService
createServerSocket
in class TcpProxyService
java.lang.Exception
private static java.lang.String[] getCipherList() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |