diff options
author | Justin Clarke Casey | 2008-01-28 22:00:38 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-28 22:00:38 +0000 |
commit | beefbb46d22d318d1964af16b3e4601e7e23709f (patch) | |
tree | 96670d4f9e7c463827e0ff2f394193305dcf65e0 /OpenSim/Region/Communications | |
parent | * Move AssetStatsReporter to Framework.Statistics (diff) | |
download | opensim-SC_OLD-beefbb46d22d318d1964af16b3e4601e7e23709f.zip opensim-SC_OLD-beefbb46d22d318d1964af16b3e4601e7e23709f.tar.gz opensim-SC_OLD-beefbb46d22d318d1964af16b3e4601e7e23709f.tar.bz2 opensim-SC_OLD-beefbb46d22d318d1964af16b3e4601e7e23709f.tar.xz |
* Add total logouts (and total logins) to server side user stats
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
Diffstat (limited to 'OpenSim/Region/Communications')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index e02a600..8a4d4e7 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -30,6 +30,7 @@ using System; | |||
30 | using libsecondlife; | 30 | using libsecondlife; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Framework.Communications; | 32 | using OpenSim.Framework.Communications; |
33 | using OpenSim.Framework.Statistics; | ||
33 | using OpenSim.Framework.UserManagement; | 34 | using OpenSim.Framework.UserManagement; |
34 | 35 | ||
35 | namespace OpenSim.Region.Communications.Local | 36 | namespace OpenSim.Region.Communications.Local |
@@ -42,8 +43,17 @@ namespace OpenSim.Region.Communications.Local | |||
42 | private IInventoryServices m_inventoryService; | 43 | private IInventoryServices m_inventoryService; |
43 | 44 | ||
44 | 45 | ||
46 | /// <summary> | ||
47 | /// | ||
48 | /// </summary> | ||
49 | /// <param name="serversInfo"></param> | ||
50 | /// <param name="defaultHomeLocX"></param> | ||
51 | /// <param name="defaultHomeLocY"></param> | ||
52 | /// <param name="inventoryService"></param> | ||
53 | /// <param name="statsCollector">Can be null if stats collection is not required.</param> | ||
45 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, | 54 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, |
46 | IInventoryServices inventoryService) | 55 | IInventoryServices inventoryService, UserStatsReporter statsCollector) |
56 | : base(statsCollector) | ||
47 | { | 57 | { |
48 | m_serversInfo = serversInfo; | 58 | m_serversInfo = serversInfo; |
49 | 59 | ||