org.objectweb.joram.mom.proxies
Class ConnectionManager

java.lang.Object
  extended byorg.objectweb.joram.mom.proxies.ConnectionManager

public class ConnectionManager
extends java.lang.Object

A ConnectionManager is started as a service in each MOM agent server for allowing connections with external clients.


Field Summary
static int inFlow
          Incoming messages flow (msgs/s) requested, if any (-1 if none).
 
Constructor Summary
ConnectionManager()
           
 
Method Summary
static Timer getTimer()
          Returns the timer provided by the connection manager.
static void init(java.lang.String args, boolean firstTime)
          Initializes the connection manager as a service.
static void stopService()
          Stops the ConnectionManager service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inFlow

public static int inFlow
Incoming messages flow (msgs/s) requested, if any (-1 if none).

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

getTimer

public static final Timer getTimer()
Returns the timer provided by the connection manager.


init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
Initializes the connection manager as a service. Creates and deploys the aministration topic, the connection manager agent and if requested the administration user proxy.

Parameters:
args - name and password of the administrator (optional).
firstTime - true when the agent server starts.
Throws:
java.lang.Exception - Thrown when processing the String argument or in case of a problem when deploying the ConnectionFactory.

stopService

public static void stopService()
Stops the ConnectionManager service.



Copyright © 2004 Scalagent - All rights reserved