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/Grid/UserServer/UserManager.cs | |
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/Grid/UserServer/UserManager.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index 3f2aa5b..778aec1 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -32,16 +32,21 @@ using System.Text.RegularExpressions; | |||
32 | using libsecondlife; | 32 | using libsecondlife; |
33 | using Nwc.XmlRpc; | 33 | using Nwc.XmlRpc; |
34 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
35 | using OpenSim.Framework.Statistics; | ||
35 | using OpenSim.Framework.UserManagement; | 36 | using OpenSim.Framework.UserManagement; |
36 | 37 | ||
37 | namespace OpenSim.Grid.UserServer | 38 | namespace OpenSim.Grid.UserServer |
38 | { | 39 | { |
39 | public class UserManager : UserManagerBase | 40 | public class UserManager : UserManagerBase |
40 | { | 41 | { |
41 | public UserManager() | 42 | /// <summary> |
43 | /// Constructor. | ||
44 | /// </summary> | ||
45 | /// <param name="statsCollector">Can be null if stats collection is not required. | ||
46 | /// </param> | ||
47 | public UserManager(UserStatsReporter statsCollector) : base(statsCollector) | ||
42 | { | 48 | { |
43 | } | 49 | } |
44 | |||
45 | 50 | ||
46 | /// <summary> | 51 | /// <summary> |
47 | /// Deletes an active agent session | 52 | /// Deletes an active agent session |