예제 #1
0
 /// <summary>
 /// Constructs a new instance of the <see cref="ServerEngine"/> class and opens a
 /// connection to the database.
 /// </summary>
 public ServerEngine()
 {
     settings = ServerSettings.Instance();
     dbcon    = null;
     ConnectToDatabase();
 }
예제 #2
0
 static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     ServerSettings.Instance().Log.LogError("An unhandled exception occured in CrawlWaver.Service: " + ((Exception)e.ExceptionObject).ToString());
 }
예제 #3
0
파일: Service.cs 프로젝트: tmzani/CrawlWave
 public Service()
 {
     InitializeComponent();
     settings = ServerSettings.Instance();
 }