コード例 #1
0
        /// <summary>
        /// Start the Macomber Map Database Interface server
        /// </summary>
        public static void StartServer()
        {
            MM_Notification.Notify("Macomber Map Database Connector starting", "The Macomber Map Service is starting, ConsoleMode=" + Environment.UserInteractive.ToString());

            //Open our XML configuration
            OpenDatabaseConnection();

            //Load in our collection of models and notes, then start our server
            LoadModels();
        }
コード例 #2
0
 /// <summary>
 /// Start the Macomber Map History Interface server
 /// </summary>
 public static void StartServer()
 {
     MM_Notification.Notify("History: Macomber Map History Reader starting", "The Macomber Map Service is starting, ConsoleMode=" + Environment.UserInteractive.ToString());
     ThreadPool.QueueUserWorkItem(new WaitCallback(StartHistoryListener));
 }