diff options
author | Justin Clarke Casey | 2008-01-25 19:24:25 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-25 19:24:25 +0000 |
commit | 90c853685c14e186a3dfd06b7a584d16bf520ccf (patch) | |
tree | c55acd1c4577b257da0cb73f9b092e1ac79912e7 /OpenSim/Region/Communications | |
parent | Implemented a suggestion from Mic Bowman regarding border crossing and Signif... (diff) | |
download | opensim-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/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalLoginService.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index 38f1970..7dee2cb 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs | |||
@@ -34,6 +34,7 @@ using libsecondlife; | |||
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
35 | using OpenSim.Framework.Communications.Cache; | 35 | using OpenSim.Framework.Communications.Cache; |
36 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
37 | using OpenSim.Framework.Statistics; | ||
37 | using OpenSim.Framework.UserManagement; | 38 | using OpenSim.Framework.UserManagement; |
38 | using InventoryFolder=OpenSim.Framework.InventoryFolder; | 39 | using InventoryFolder=OpenSim.Framework.InventoryFolder; |
39 | 40 | ||
@@ -52,9 +53,10 @@ namespace OpenSim.Region.Communications.Local | |||
52 | 53 | ||
53 | public event LoginToRegionEvent OnLoginToRegion; | 54 | public event LoginToRegionEvent OnLoginToRegion; |
54 | 55 | ||
55 | public LocalLoginService(UserManagerBase userManager, string welcomeMess, CommunicationsLocal parent, | 56 | public LocalLoginService(UserManagerBase userManager, string welcomeMess, |
56 | NetworkServersInfo serversInfo, bool authenticate) | 57 | CommunicationsLocal parent, NetworkServersInfo serversInfo, |
57 | : base(userManager, parent.UserProfileCacheService.libraryRoot, welcomeMess) | 58 | UserStatsReporter statsCollector, bool authenticate) |
59 | : base(userManager, parent.UserProfileCacheService.libraryRoot, statsCollector, welcomeMess) | ||
58 | { | 60 | { |
59 | m_Parent = parent; | 61 | m_Parent = parent; |
60 | this.serversInfo = serversInfo; | 62 | this.serversInfo = serversInfo; |
@@ -228,4 +230,4 @@ namespace OpenSim.Region.Communications.Local | |||
228 | 230 | ||
229 | } | 231 | } |
230 | } | 232 | } |
231 | } \ No newline at end of file | 233 | } |