Exemple #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;
     }
 }
Exemple #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);
     }
 }