Inheritance diagram for org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener:


Public Member Functions | |
| TcpConnectionListener (ServerSocket serverSocket, TcpProxyService proxyService, int timeout) | |
| void | run () |
Protected Member Functions | |
| void | shutdown () |
| void | close () |
TcpConnection for each accepted TCP connection. Opens the UserConnection with the right user's proxy.
Definition at line 55 of file TcpConnectionListener.java.
| org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.TcpConnectionListener | ( | ServerSocket | serverSocket, | |
| TcpProxyService | proxyService, | |||
| int | timeout | |||
| ) |
Creates a new connection listener
| serverSocket | the server socket to listen to | |
| proxyService | the TCP proxy service of this connection listener |
Definition at line 75 of file TcpConnectionListener.java.
| void org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.shutdown | ( | ) | [protected, virtual] |
Interrupts a thread that waits for long periods. In some cases, we must use application specific tricks. For example, if a thread is waiting on a known socket, we have to close the socket to cause the thread to return immediately. Unfortunately, there really isn't any technique that works in general.
Implements fr.dyade.aaa.util.Daemon.
Definition at line 256 of file TcpConnectionListener.java.
References org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.close().
Here is the call graph for this function:

| void org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.close | ( | ) | [protected, virtual] |
Releases any resources attached to this daemon. Be careful, its method should be called more than one time.
Implements fr.dyade.aaa.util.Daemon.
Definition at line 260 of file TcpConnectionListener.java.
Referenced by org.objectweb.joram.mom.proxies.tcp.TcpConnectionListener.shutdown().
1.5.0