com.web_visage.ichatserv.fwk
Class IChatServerThread

java.lang.Object
  extended by com.web_visage.ichatserv.fwk.IChatServerThread
All Implemented Interfaces:
java.lang.Runnable

public class IChatServerThread
extends java.lang.Object
implements java.lang.Runnable

Accepts client connections and performs client connection processing.

Author:
K.Baturytski

Constructor Summary
IChatServerThread(java.nio.channels.Selector aSelector, java.nio.channels.ServerSocketChannel aSocket, java.util.Map<ClientDescriptor,ClientHandler> aClientRegistry, ClientConnectionListener aListener, java.util.Queue<ServerIChatMessage> aMessageQueue, UpdatableStringFileList aBanList, ClientErrorListener anErrorHandler)
          Constructor.
 
Method Summary
 void run()
          Continuously accepts client connections and informs framework about new connections.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IChatServerThread

public IChatServerThread(java.nio.channels.Selector aSelector,
                         java.nio.channels.ServerSocketChannel aSocket,
                         java.util.Map<ClientDescriptor,ClientHandler> aClientRegistry,
                         ClientConnectionListener aListener,
                         java.util.Queue<ServerIChatMessage> aMessageQueue,
                         UpdatableStringFileList aBanList,
                         ClientErrorListener anErrorHandler)
Constructor.

Parameters:
aSelector -
aSocket -
aClientRegistry -
aListener -
aMessageQueue -
aBanList -
anErrorHandler -
Method Detail

run

public void run()
Continuously accepts client connections and informs framework about new connections.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()