Beispiel #1
0
 public static bool Load()
 {
     try
     {
         Instance = new ZoneAcceptor(Program.serviceInfo.Port);
         return(true);
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "ZoneAcceptor exception: {0}", ex.ToString());
         return(false);
     }
 }
Beispiel #2
0
 public static bool Load()
 {
     try
     {
         Instance = new ZoneAcceptor(Program.ServiceInfo.Port);
         return true;
     }
     catch (Exception ex)
     {
         Log.WriteLine(LogLevel.Exception, "ZoneAcceptor exception: {0}", ex.ToString());
         return false;
     }
 }