org.objectweb.joram.mom.proxies.tcp
Class SSLTcpProxyService
java.lang.Object
org.objectweb.joram.mom.proxies.tcp.TcpProxyService
org.objectweb.joram.mom.proxies.tcp.SSLTcpProxyService
- All Implemented Interfaces:
- ConnectionManagerMBean, TcpProxyServiceMBean
public class SSLTcpProxyService
- extends TcpProxyService
Starts a SSLTCP entry point for MOM clients.
Field Summary |
static org.objectweb.util.monolog.api.Logger |
logger
logger |
Method Summary |
protected java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.lang.String address)
Initialize the listening socket. |
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, getFailedLoginCount, getInitiatedConnectionCount, getProtocolErrorCount, getRunningConnectionsCount, getServerAddress, getTcpListenersPoolSize, isActivated, resetServerSocket, start, stopService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.objectweb.util.monolog.api.Logger logger
- logger
SSLTcpProxyService
public SSLTcpProxyService(int port,
int backlog,
java.lang.String address)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public static void init(java.lang.String args,
boolean firstTime)
throws java.lang.Exception
- Initializes the SSLTCP entry point by creating a
ssl server socket listening to the specified port.
- Parameters:
args
- stringified listening portfirstTime
- true
when the agent server starts.
- Throws:
java.lang.Exception
getMBeanName
public java.lang.String getMBeanName()
- Description copied from interface:
ConnectionManagerMBean
- Gets the name of the MBean.
- Specified by:
getMBeanName
in interface ConnectionManagerMBean
- Overrides:
getMBeanName
in class TcpProxyService
createServerSocket
protected java.net.ServerSocket createServerSocket(int port,
int backlog,
java.lang.String address)
throws java.lang.Exception
- Description copied from class:
TcpProxyService
- Initialize the listening socket.
- Overrides:
createServerSocket
in class TcpProxyService
- Returns:
- The initialized socket.
- Throws:
java.lang.Exception
Copyright © 2011 ScalAgent D.T.. All Rights Reserved.