org.objectweb.joram.mom.proxies.tcp
Class TcpConnectionListener
java.lang.Object
fr.dyade.aaa.common.Daemon
org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener
- All Implemented Interfaces:
- java.lang.Runnable
public class TcpConnectionListener
- extends fr.dyade.aaa.common.Daemon
Listens to the TCP connections from the JMS clients.
Creates a TcpConnection
for each
accepted TCP connection.
Opens the UserConnection
with the
right user's proxy.
Field Summary |
static org.objectweb.util.monolog.api.Logger |
logger
logger |
static java.lang.String |
VERIFY_CLOCK_SYNCHRO
Name of the boolean property allowing the verification of the synchronization
between the client and server clock. |
Fields inherited from class fr.dyade.aaa.common.Daemon |
canStop, group, logmon, priority, running, thread |
Methods inherited from class fr.dyade.aaa.common.Daemon |
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
public static org.objectweb.util.monolog.api.Logger logger
- logger
VERIFY_CLOCK_SYNCHRO
public static final java.lang.String VERIFY_CLOCK_SYNCHRO
- Name of the boolean property allowing the verification of the synchronization
between the client and server clock. When true a warning is generated if there
is more than one second between the two clocks. This property allows the protocol
compatibility in 5.2 versions, this verification will be enabled by default in 5.3
version.
This property can be fixed either from java
launching command, or
in a3servers.xml
configuration file. By default the value is false.
- See Also:
- Constant Field Values
TcpConnectionListener
public TcpConnectionListener(TcpProxyService proxyService,
int timeout)
- Creates a new connection listener
- Parameters:
proxyService
- the TCP proxy service associated with this connection listenertimeout
- the timeout
run
public void run()
shutdown
protected void shutdown()
- Specified by:
shutdown
in class fr.dyade.aaa.common.Daemon
close
protected void close()
- Specified by:
close
in class fr.dyade.aaa.common.Daemon
getFailedLoginCount
public int getFailedLoginCount()
getInitiatedConnectionCount
public int getInitiatedConnectionCount()
getProtocolErrorCount
public int getProtocolErrorCount()
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved