|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.dyade.aaa.common.Daemon
org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener
public class TcpConnectionListener
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 java.lang.String |
CLOCK_SYNCHRO_THRESHOLD
Name of the property allowing to change the threshold of warning for the verification of the synchronization between the client and server clock. |
static org.objectweb.util.monolog.api.Logger |
logger
logger |
Fields inherited from class fr.dyade.aaa.common.Daemon |
---|
canStop, group, logmon, priority, running, thread |
Constructor Summary | |
---|---|
TcpConnectionListener(TcpProxyService proxyService,
int timeout)
Creates a new connection listener |
Method Summary | |
---|---|
protected void |
close()
Releases any resources attached to this daemon. |
int |
getFailedLoginCount()
|
int |
getInitiatedConnectionCount()
|
int |
getProtocolErrorCount()
|
void |
run()
|
protected void |
shutdown()
Interrupts a thread that waits for long periods. |
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 |
Field Detail |
---|
public static org.objectweb.util.monolog.api.Logger logger
public static final java.lang.String CLOCK_SYNCHRO_THRESHOLD
By default the value is 1000 milliseconds.
Constructor Detail |
---|
public TcpConnectionListener(TcpProxyService proxyService, int timeout)
proxyService
- the TCP proxy service associated with this connection listenertimeout
- the timeoutMethod Detail |
---|
public void run()
protected void shutdown()
Daemon
shutdown
in class Daemon
protected void close()
Daemon
close
in class Daemon
public int getFailedLoginCount()
public int getInitiatedConnectionCount()
public int getProtocolErrorCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |