|
Joram 4.3.20 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.proxies.ConnectionManager
public class ConnectionManager
A ConnectionManager
is started as a service in each
MOM agent server for allowing connections with external clients.
Field Summary | |
---|---|
static int |
inFlow
Limit of incoming messages flow (msgs/s) requested if any, default value is -1 (no limitation). |
static java.lang.String |
MULTI_CNX_SYNC
|
static java.lang.String |
MULTI_CNX_SYNC_DELAY
|
Constructor Summary | |
---|---|
ConnectionManager()
|
Method Summary | |
---|---|
static MultiCnxSync |
getMultiCnxSync(fr.dyade.aaa.agent.AgentId proxyId)
|
static long |
getMultiThreadSyncDelay()
|
static fr.dyade.aaa.util.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 |
sendToProxy(fr.dyade.aaa.agent.AgentId proxyId,
int cnxKey,
AbstractJmsRequest req,
java.lang.Object msg)
|
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 |
---|
public static final java.lang.String MULTI_CNX_SYNC
public static final java.lang.String MULTI_CNX_SYNC_DELAY
public static int inFlow
java
launching command, or in a3servers.xml
configuration file.
Constructor Detail |
---|
public ConnectionManager()
Method Detail |
---|
public static final void sendToProxy(fr.dyade.aaa.agent.AgentId proxyId, int cnxKey, AbstractJmsRequest req, java.lang.Object msg)
public static final long getMultiThreadSyncDelay()
public static MultiCnxSync getMultiCnxSync(fr.dyade.aaa.agent.AgentId proxyId)
public static final fr.dyade.aaa.util.Timer getTimer()
public static void init(java.lang.String args, boolean firstTime) throws java.lang.Exception
args
- name and password of the administrator (optional).firstTime
- true
when the agent server starts.
java.lang.Exception
- Thrown when processing the String argument
or in case of a problem when deploying the ConnectionFactory.public static void stopService()
ConnectionManager
service.
|
Joram 4.3.20 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |