server
Class SClientManager

java.lang.Object
  extended by server.SClientManager
All Implemented Interfaces:
ConnectionHandler, SClientListener

public class SClientManager
extends java.lang.Object
implements SClientListener, ConnectionHandler


Constructor Summary
SClientManager()
           
SClientManager(BridgeProvider bp)
           
 
Method Summary
 void addClientListener(SClientListener l)
           
 void clientConnected(SClient c)
           
 void clientDisconnected(SClient c)
           
 void fireClientConnected(SClient c)
           
 void fireClientDisconnected(SClient c)
           
 BridgeProvider getBridgeProvider()
           
 java.util.Vector<SClient> getClients()
           
 int getConnectedClientNumber()
           
 java.lang.String[] getTypesToHandle()
           
 void processConnection(ConnectionData data)
           
 void removeClientListener(SClientListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SClientManager

public SClientManager()
               throws ClientConnectionWaiterInitException,
                      javax.xml.parsers.ParserConfigurationException
Throws:
ClientConnectionWaiterInitException
javax.xml.parsers.ParserConfigurationException

SClientManager

public SClientManager(BridgeProvider bp)
               throws ClientConnectionWaiterInitException,
                      javax.xml.parsers.ParserConfigurationException
Throws:
ClientConnectionWaiterInitException
javax.xml.parsers.ParserConfigurationException
Method Detail

processConnection

public void processConnection(ConnectionData data)
Specified by:
processConnection in interface ConnectionHandler

addClientListener

public void addClientListener(SClientListener l)

removeClientListener

public void removeClientListener(SClientListener l)

fireClientConnected

public void fireClientConnected(SClient c)

fireClientDisconnected

public void fireClientDisconnected(SClient c)

getConnectedClientNumber

public int getConnectedClientNumber()

getClients

public java.util.Vector<SClient> getClients()

clientConnected

public void clientConnected(SClient c)
Specified by:
clientConnected in interface SClientListener

clientDisconnected

public void clientDisconnected(SClient c)
Specified by:
clientDisconnected in interface SClientListener

getTypesToHandle

public java.lang.String[] getTypesToHandle()
Specified by:
getTypesToHandle in interface ConnectionHandler

getBridgeProvider

public BridgeProvider getBridgeProvider()