org.siebengeisslein.server
Class ConnectionManager

java.lang.Object
  extended by org.siebengeisslein.server.ConnectionManager

public class ConnectionManager
extends java.lang.Object

The ConnectionManager manages the currently open Connections. It cannot contain only the ServerCallbacks, because the Connection class is responsible for filtering the relevant oids in expireOIDs().


Constructor Summary
ConnectionManager()
           
 
Method Summary
 void add(LocalConnection c)
           
 void close()
           
 void expireOIDs(long[] objIDs, LocalConnection changedBy)
           
 void remove(LocalConnection c)
          May be called for connections not contained in cm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManager

public ConnectionManager()
Method Detail

add

public void add(LocalConnection c)
         throws CoreException
Throws:
CoreException

remove

public void remove(LocalConnection c)
May be called for connections not contained in cm.


expireOIDs

public void expireOIDs(long[] objIDs,
                       LocalConnection changedBy)
                throws CoreException
Throws:
CoreException

close

public void close()