public static SockIOPool GetInstance(String poolName) { if (Pools.ContainsKey(poolName)) return (SockIOPool)Pools[poolName]; SockIOPool pool = new SockIOPool(); Pools[poolName] = pool; return pool; }
public MaintenanceThread(SockIOPool pool) { _thread = new Thread(new ThreadStart(Maintain)); _pool = pool; }