public void RegionLoaded(Scene scene) { if (!m_Enabled) { return; } if (m_UserManagement == null) { m_UserManagement = scene.RequestModuleInterface <IUserManagement>(); m_OfflineIM = scene.RequestModuleInterface <IOfflineIMService>(); m_Messaging = scene.RequestModuleInterface <IMessageTransferModule>(); m_ForeignImporter = new ForeignImporter(m_UserManagement); if (m_ServiceLocation.Equals("local")) { m_LocalGroupsConnector = new GroupsServiceLocalConnectorModule(m_Config, m_UserManagement); // Also, if local, create the endpoint for the HGGroupsService new HGGroupsServiceRobustConnector(m_Config, MainServer.Instance, string.Empty, scene.RequestModuleInterface <IOfflineIMService>(), scene.RequestModuleInterface <IUserAccountService>()); } else { m_LocalGroupsConnector = new GroupsServiceRemoteConnectorModule(m_Config, m_UserManagement); } m_CacheWrapper = new RemoteConnectorCacheWrapper(m_UserManagement); } }
public void RegionLoaded(Scene scene) { if (!m_Enabled) { return; } if (m_UserManagement == null) { m_UserManagement = scene.RequestModuleInterface <IUserManagement>(); m_ForeignImporter = new ForeignImporter(m_UserManagement); } }
public RemoteConnectorCacheWrapper(IUserManagement uman) { m_ForeignImporter = new ForeignImporter(uman); }
// 1 minutes public RemoteConnectorCacheWrapper(IUserManagement uman) { m_ForeignImporter = new ForeignImporter(uman); }
public GroupsServiceLocalConnectorModule(IConfigSource config, IUserManagement uman) { Init(config); m_UserManagement = uman; m_ForeignImporter = new ForeignImporter(uman); }
public void RegionLoaded(Scene scene) { if (!m_Enabled) return; if (m_UserManagement == null) { m_UserManagement = scene.RequestModuleInterface<IUserManagement>(); m_OfflineIM = scene.RequestModuleInterface<IOfflineIMService>(); m_Messaging = scene.RequestModuleInterface<IMessageTransferModule>(); m_ForeignImporter = new ForeignImporter(m_UserManagement); if (m_ServiceLocation.Equals("local")) { m_LocalGroupsConnector = new GroupsServiceLocalConnectorModule(m_Config, m_UserManagement); // Also, if local, create the endpoint for the HGGroupsService new HGGroupsServiceRobustConnector(m_Config, MainServer.Instance, string.Empty, scene.RequestModuleInterface<IOfflineIMService>(), scene.RequestModuleInterface<IUserAccountService>()); } else m_LocalGroupsConnector = new GroupsServiceRemoteConnectorModule(m_Config, m_UserManagement); m_CacheWrapper = new RemoteConnectorCacheWrapper(m_UserManagement); } }
public void RegionLoaded(Scene scene) { if (!m_Enabled) return; if (m_UserManagement == null) { m_UserManagement = scene.RequestModuleInterface<IUserManagement>(); m_ForeignImporter = new ForeignImporter(m_UserManagement); } }