예제 #1
0
 // Perform expensive serialization all at once. Do this before signal handler is setup.
 public static void Init()
 {
     Shutdown.ShutdownEvent += OnShutdown;
     ConnectionHandler.Init();
     initialized = true;
 }
예제 #2
0
파일: Server.cs 프로젝트: zweib730/beagrep
		static internal void MarkHandlerAsKilled (ConnectionHandler handler)
		{
			lock (live_handlers) {
				live_handlers.Remove (handler);

				if (handler is HttpConnectionHandler)
					item_handlers.Remove (((HttpConnectionHandler) handler).Guid);
			}
		}