Joram ${version}

org.objectweb.joram.mom.proxies.tcp
Class TcpConnectionListener

java.lang.Object
  extended byfr.dyade.aaa.util.Daemon
      extended byorg.objectweb.joram.mom.proxies.tcp.TcpConnectionListener
All Implemented Interfaces:
java.lang.Runnable

public class TcpConnectionListener
extends fr.dyade.aaa.util.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
 
Fields inherited from class fr.dyade.aaa.util.Daemon
canStop, group, logmon, priority, running, thread
 
Constructor Summary
TcpConnectionListener(java.net.ServerSocket serverSocket, TcpProxyService proxyService, int timeout)
          Creates a new connection listener
 
Method Summary
protected  void close()
           
 void run()
           
protected  void shutdown()
           
 
Methods inherited from class fr.dyade.aaa.util.Daemon
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setPriority, setThreadGroup, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcpConnectionListener

public TcpConnectionListener(java.net.ServerSocket serverSocket,
                             TcpProxyService proxyService,
                             int timeout)
Creates a new connection listener

Parameters:
serverSocket - the server socket to listen to
proxyService - the TCP proxy service of this connection listener
Method Detail

run

public void run()

shutdown

protected void shutdown()

close

protected void close()

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved