public void RemoveRegion(Scene scene)
        {
            if (m_Enabled)
            {
                scene.UnregisterModuleInterface<IPresenceService>(this);
                scene.UnregisterModuleInterface<IGridUserService>(this);

                m_activityDetector.RemoveRegion(scene);

                LogoutRegionAgents(scene.RegionInfo.RegionID);
            }
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<IXmlRpcRouter>(this);
        }
        public virtual void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<IObjectCache>(this);
        }
        public virtual void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<IObjectCache>(this);
            scene.EventManager.OnNewClient -= OnNewClient;
            scene.EventManager.OnClosingClient -= OnClosingClient;
        }
Beispiel #5
0
 public void RemoveRegion(Scene scene)
 {
     if (scene.PhysicsScene != null && scene.PhysicsScene.SupportsNINJAJoints)
     {
         m_scene = null;
         scene.UnregisterModuleInterface<INinjaPhysicsModule>(this);
         // register event handlers to respond to joint movement/deactivation
         scene.PhysicsScene.OnJointMoved -= jointMoved;
         scene.PhysicsScene.OnJointDeactivated -= jointDeactivated;
         scene.PhysicsScene.OnJointErrorMessage -= jointErrorMessage;
     }
 }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            if (m_scenes.Contains(scene))
                m_scenes.Remove(scene);
            scene.EventManager.OnNewClient -= OnNewClient;
            scene.EventManager.OnClosingClient -= OnClosingClient;

            scene.UnregisterModuleInterface<ICallingCardModule>(this);
        }
        public void Close(Scene scene)
        {
            //Deregister the interface
            scene.UnregisterModuleInterface<IGridRegisterModule>(this);

            m_log.InfoFormat("[RegisterRegionWithGrid]: Deregistering region {0} from the grid...", scene.RegionInfo.RegionName);

            //Deregister from the grid server
            IGridService GridService = scene.RequestModuleInterface<IGridService>();
            if (!GridService.DeregisterRegion(scene.RegionInfo.RegionID, scene.RegionInfo.GridSecureSessionID))
                m_log.WarnFormat("[RegisterRegionWithGrid]: Deregister from grid failed for region {0}", scene.RegionInfo.RegionName);
        }
Beispiel #8
0
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            m_Scenes.Remove(scene);

            scene.EventManager.OnNewClient -= OnNewClient;
            scene.EventManager.OnIncomingInstantMessage +=
                    OnIncomingInstantMessage;

            scene.UnregisterModuleInterface<ICallingCardModule>(this);
        }
        public void RemoveRegion(Scene scene)
        {
            if (!Enabled)
                return;

            scene.EventManager.OnNewClient -= OnNewClient;
            scene.EventManager.OnClientClosed -= OnClientClosed;
            scene.EventManager.OnValidateLandBuy -= OnValidateLandBuy;
            scene.EventManager.OnLandBuy -= OnLandBuy;

            scene.UnregisterModuleInterface<IMoneyModule>(this);
        }
 public void RemoveRegion(Scene scene) { if (m_Enabled) { scene.UnregisterModuleInterface<IAssetService>(this); } }
Beispiel #11
0
        public virtual void RemoveRegion(Scene scene)
        {
            if (!m_enabled) return;

            if (m_scenes.Contains(scene))
            {
                scene.EventManager.OnNewClient -= OnNewClient;
                scene.EventManager.OnClosingClient -= OnClosingClient;
                scene.EventManager.OnRegisterCaps -= RegisterCaps;
                scene.EventManager.OnIncomingInstantMessage -= OnGridInstantMessage;

                m_scenes.Remove(scene);
                scene.UnregisterModuleInterface<IMuteListModule>(this);
                scene.UnregisterModuleInterface<IChatModule>(this);
            }
        }
        public void RemoveRegion(Scene scene)
        {
            if (!IsEnabled())
                return;

            if (m_scenes.Contains(scene))
            {
                scene.UnregisterModuleInterface<IXMLRPC>(this);
                m_scenes.Remove(scene);
            }
        }
        public virtual void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;
            if (scene == m_aScene)
                m_aScene = null;

            scene.UnregisterModuleInterface<IEntityTransferModule>(this);
            scene.EventManager.OnNewClient -= OnNewClient;
            scene.EventManager.OnClosingClient -= OnClosingClient;
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<IGridUserService>(this);
            m_ActivityDetector.RemoveRegion(scene);
        }
        public void RemoveRegion(Scene scene)
        {
            if (RegisteredScenes.ContainsKey(scene.RegionInfo.RegionID))
            {
                // m_log.Debug("initialising AgentAssetTransactionModule");
                RegisteredScenes.Remove(scene.RegionInfo.RegionID);
                scene.UnregisterModuleInterface<IAgentAssetTransactions>(this);

                scene.EventManager.OnNewClient -= NewClient;
                scene.EventManager.OnClosingClient -= OnClosingClient;
            }
        }
Beispiel #16
0
        public void RemoveRegion(Scene scene)
        {
            if (scene == m_scene)
            {
                scene.UnregisterModuleInterface<IAvatarFactoryModule>(this);
                scene.EventManager.OnNewClient -= SubscribeToClientEvents;
            }

            m_scene = null;
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            lock (m_Scenes)
            {
                m_Scenes.Remove(scene);
            }

            scene.UnregisterModuleInterface<IUserStatsLogModule>(this);
        }
Beispiel #18
0
        public void RemoveRegion(Scene scene)
        {
            if (!m_enabled)
                return;

            scene.EventManager.OnRemoveScript -= StopScript;
            scene.EventManager.OnScriptReset -= OnScriptReset;
            scene.EventManager.OnGetScriptRunning -= OnGetScriptRunning;
            scene.EventManager.OnStartScript -= OnStartScript;
            scene.EventManager.OnStopScript -= OnStopScript;

            scene.UnregisterModuleInterface<IScriptModule>(this);
            UpdateLeasesTimer.Enabled = false;
            UpdateLeasesTimer.Elapsed -= UpdateAllLeases;
            UpdateLeasesTimer.Stop();

            Shutdown();
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            lock (m_scenes)
                m_scenes.Remove(scene.RegionInfo.RegionID);

            scene.UnregisterModuleInterface<IGridService>(this);
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<IGroupsServicesConnector>(this);
            m_Scenes.Remove(scene);
        }
 public void RemoveRegion(Scene scene)
 {
     if (m_Enabled)
     {
         scene.UnregisterModuleInterface<IUserManagement>(this);
         m_Scenes.Remove(scene);
     }
 }
        public void RemoveRegion(Scene scene)
        {
            if (m_scene != scene)
                return;

            scene.EventManager.OnClientClosed -= ClientClosed;
            scene.EventManager.OnRegisterCaps -= OnRegisterCaps;

            scene.UnregisterModuleInterface<IEventQueue>(this);
            m_scene = null;
        }
        public void RemoveRegion(Scene scene)
        {
            if (!m_ModuleEnabled)
                return;

            RemoveScene(scene);
            scene.UnregisterModuleInterface<ISimulationService>(this);
        }
 public void RemoveRegion(Scene scene)
 {
     if (m_enabled)
     {
         m_localBackend.RemoveScene(scene);
         scene.UnregisterModuleInterface<ISimulationService>(this);
     }
 }
 public void RemoveRegion(Scene scene) { if (!String.IsNullOrEmpty(m_serverUrl)) { scene.UnregisterModuleInterface<IGridService>(this); } }
        public void RemoveRegion(Scene scene)
        {
            if (!m_Enabled)
                return;

            scene.UnregisterModuleInterface<ISearchModule>(this);
            m_Scenes.Remove(scene);
        }
Beispiel #27
0
 public void RemoveRegion(Scene scene)
 {
     scene.UnregisterModuleInterface<IHttpRequestModule>(this);
     if (scene == m_scene)
         m_scene = null;
 }
        public override void RemoveRegion(Scene scene)
        {
            base.RemoveRegion(scene);

            if (m_Enabled)
            {
                scene.UnregisterModuleInterface<IUserAgentVerificationModule>(this);
                m_incomingSceneObjectEngine.Stop();
            }
        }
        public override void RemoveRegion(Scene scene)
        {
            base.RemoveRegion(scene);

            if (m_Enabled)
                scene.UnregisterModuleInterface<IUserAgentVerificationModule>(this);
        }
Beispiel #30
0
 public void RemoveRegion(Scene scene)
 {
     scene.UnregisterModuleInterface<INPCModule>(this);
 }