public class JndiServer extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_POOL_SIZE
Default value for POOL_SIZE property.
|
static int |
DEFAULT_SO_TIMEOUT
Default value for SO_TIMEOUT property.
|
static String |
POOL_SIZE_PROP
This property allows to set the number of listening thread, default value is 3.
|
static 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 and Description |
|---|
JndiServer() |
| Modifier and Type | Method and Description |
|---|---|
static fr.dyade.aaa.agent.AgentId |
getDefault()
Returns the default JndiServer id on the local agent server.
|
static fr.dyade.aaa.agent.AgentId |
getDefault(short serverId)
Returns the default JndiServer id on the given agent server.
|
static void |
init(String args,
boolean firstTime) |
static void |
stopService()
Stops the
JndiServer service. |
public static final 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 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
public static void stopService()
JndiServer service.public static fr.dyade.aaa.agent.AgentId getDefault()
AgentId of the JndiServerpublic static fr.dyade.aaa.agent.AgentId getDefault(short serverId)
serverId - the id of the agent serverAgentId of the JndiServerCopyright © 2019 ScalAgent D.T.. All Rights Reserved.