|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.jndi2.server.JndiServer
public class JndiServer
Class of a JNDI centralized server. This agent may be accessed either by TCP connections or agent notifications.
Field Summary | |
---|---|
static int |
DEFAULT_POOL_SIZE
Default value for POOL_SIZE property. |
static int |
DEFAULT_SO_TIMEOUT
Default value for SO_TIMEOUT property. |
static java.lang.String |
POOL_SIZE_PROP
This property allows to set the number of listening thread, default value is 3. |
static java.lang.String |
SO_TIMEOUT_PROP
This property allows to Enable/disable SO_TIMEOUT with the specified timeout in milliseconds, default value is 10.000L (10 second). |
private static TcpServer |
tcpServer
|
Constructor Summary | |
---|---|
JndiServer()
|
Method Summary | |
---|---|
static AgentId |
getDefault()
Returns the default JndiServer id on the local agent server. |
static AgentId |
getDefault(short serverId)
Returns the default JndiServer id on the given agent server. |
static void |
init(java.lang.String args,
boolean firstTime)
|
static void |
stopService()
Stops the JndiServer 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 SO_TIMEOUT_PROP
This property can be fixed either from java
launching
command, or in a3servers.xml
configuration file.
public static final int DEFAULT_SO_TIMEOUT
public static final java.lang.String POOL_SIZE_PROP
This property can be fixed either from java
launching
command, or in a3servers.xml
configuration file.
public static final int DEFAULT_POOL_SIZE
private static TcpServer tcpServer
Constructor Detail |
---|
public JndiServer()
Method Detail |
---|
public static void init(java.lang.String args, boolean firstTime) throws java.lang.Exception
java.lang.Exception
public static void stopService()
JndiServer
service.
public static AgentId getDefault()
AgentId
of the JndiServerpublic static AgentId getDefault(short serverId)
serverId
- the id of the agent server
AgentId
of the JndiServer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |