public static void Initialize()
        {
            LoadConfig();

            if (!startServer)
                return;

            if (logger != null)
                logger.Close();

            logger = new Logger.Logger(logDir  , typeof(GFXDServerMgr).FullName + ".log");

            locator = new GFXDLocator();
            locator.Start();

            try
            {
                for (int i = 0; i < numServers; i++)
                {
                    GFXDServer server = new GFXDServer(locator);
                    server.Start();
                    AddServer(server);
                }
            }
            catch (Exception e)
            {
                Log(DbHelper.GetExceptionDetails(e, new StringBuilder()).ToString());
            }
        }
        public static void Initialize()
        {
            LoadConfig();

            if (!startServer)
            {
                return;
            }

            if (logger != null)
            {
                logger.Close();
            }

            logger = new Logger.Logger(logDir, typeof(GFXDServerMgr).FullName + ".log");

            locator = new GFXDLocator();
            locator.Start();

            try
            {
                for (int i = 0; i < numServers; i++)
                {
                    GFXDServer server = new GFXDServer(locator);
                    server.Start();
                    AddServer(server);
                }
            }
            catch (Exception e)
            {
                Log(DbHelper.GetExceptionDetails(e, new StringBuilder()).ToString());
            }
        }
 public GFXDServer(GFXDLocator locator)
     : this()
 {
     this.locator = locator;
 }
Example #4
0
 public GFXDServer(GFXDLocator locator)
     : this()
 {
     this.locator = locator;
 }