Joram 5.3.1

org.objectweb.joram.mom.proxies.tcp
Class SSLTcpProxyService

java.lang.Object
  extended by org.objectweb.joram.mom.proxies.tcp.TcpProxyService
      extended by 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
 
Fields inherited from class org.objectweb.joram.mom.proxies.tcp.TcpProxyService
BACKLOG_PROP, DEFAULT_BACKLOG, DEFAULT_BINDADDRESS, DEFAULT_POOL_SIZE, DEFAULT_PORT, DEFAULT_SO_TIMEOUT, POOL_SIZE_PROP, 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.
 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
 

Field Detail

logger

public static org.objectweb.util.monolog.api.Logger logger
logger

Constructor Detail

SSLTcpProxyService

public SSLTcpProxyService(int port,
                          int backlog,
                          java.lang.String address)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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 port
firstTime - 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

Joram 5.3.1

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved