aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/UserLoginService.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-01-25 19:24:25 +0000
committerJustin Clarke Casey2008-01-25 19:24:25 +0000
commit90c853685c14e186a3dfd06b7a584d16bf520ccf (patch)
treec55acd1c4577b257da0cb73f9b092e1ac79912e7 /OpenSim/Grid/UserServer/UserLoginService.cs
parentImplemented a suggestion from Mic Bowman regarding border crossing and Signif... (diff)
downloadopensim-SC-90c853685c14e186a3dfd06b7a584d16bf520ccf.zip
opensim-SC-90c853685c14e186a3dfd06b7a584d16bf520ccf.tar.gz
opensim-SC-90c853685c14e186a3dfd06b7a584d16bf520ccf.tar.bz2
opensim-SC-90c853685c14e186a3dfd06b7a584d16bf520ccf.tar.xz
* Add very basic initial login stats to the user server
* Typing 'stats' on the command line will given total number of successful logins today and yesterday * A little bit more to come, probably * Refactoring will follow next
Diffstat (limited to 'OpenSim/Grid/UserServer/UserLoginService.cs')
-rw-r--r--OpenSim/Grid/UserServer/UserLoginService.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Grid/UserServer/UserLoginService.cs b/OpenSim/Grid/UserServer/UserLoginService.cs
index 98d19f7..0f02ad2 100644
--- a/OpenSim/Grid/UserServer/UserLoginService.cs
+++ b/OpenSim/Grid/UserServer/UserLoginService.cs
@@ -38,6 +38,7 @@ using OpenSim.Framework.Communications.Cache;
38using OpenSim.Framework.Console; 38using OpenSim.Framework.Console;
39using OpenSim.Framework.Data; 39using OpenSim.Framework.Data;
40using OpenSim.Framework.Servers; 40using OpenSim.Framework.Servers;
41using OpenSim.Framework.Statistics;
41using OpenSim.Framework.UserManagement; 42using OpenSim.Framework.UserManagement;
42using InventoryFolder=OpenSim.Framework.InventoryFolder; 43using InventoryFolder=OpenSim.Framework.InventoryFolder;
43 44
@@ -53,8 +54,9 @@ namespace OpenSim.Grid.UserServer
53 public UserConfig m_config; 54 public UserConfig m_config;
54 55
55 public UserLoginService( 56 public UserLoginService(
56 UserManagerBase userManager, LibraryRootFolder libraryRootFolder, UserConfig config, string welcomeMess) 57 UserManagerBase userManager, LibraryRootFolder libraryRootFolder,
57 : base(userManager, libraryRootFolder, welcomeMess) 58 UserStatsReporter statsCollector, UserConfig config, string welcomeMess)
59 : base(userManager, libraryRootFolder, statsCollector, welcomeMess)
58 { 60 {
59 m_config = config; 61 m_config = config;
60 } 62 }
@@ -290,4 +292,4 @@ namespace OpenSim.Grid.UserServer
290 } 292 }
291 } 293 }
292 } 294 }
293} \ No newline at end of file 295}