コード例 #1
0
        public Controller()
        {
            _viewerServer    = new Server();
            _backboneServers = new BackboneServers();
            _agentManager    = new AgentManager(_viewerServer);
            _gridManager     = new GridManager(_viewerServer, _agentManager);
            _scene           = new SceneGraph(_viewerServer, _agentManager);

            ClientConnection.Grid         = _gridManager;
            ClientConnection.Scene        = _scene;
            ClientConnection.AgentManager = _agentManager;

            _viewerServer.Startup();

            if (Globals.Instance.StartLoginServer)
            {
                _loginServer = new LoginServer();
                _loginServer.Startup();
            }
        }
コード例 #2
0
        public Controller()
        {
            _viewerServer = new Server();
            _backboneServers = new BackboneServers();
            _agentManager = new AgentManager(_viewerServer);
            _gridManager = new GridManager(_viewerServer, _agentManager);
            _scene = new SceneGraph(_viewerServer, _agentManager);

            ClientConnection.Grid = _gridManager;
            ClientConnection.Scene = _scene;
            ClientConnection.AgentManager = _agentManager;

            _viewerServer.Startup();

            if(Globals.Instance.StartLoginServer)
            {
                _loginServer = new LoginServer();
                _loginServer.Startup();
            }
        }