From beefbb46d22d318d1964af16b3e4601e7e23709f Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Mon, 28 Jan 2008 22:00:38 +0000
Subject: * 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
---
OpenSim/Region/Communications/Local/LocalUserServices.cs | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Communications')
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;
using libsecondlife;
using OpenSim.Framework;
using OpenSim.Framework.Communications;
+using OpenSim.Framework.Statistics;
using OpenSim.Framework.UserManagement;
namespace OpenSim.Region.Communications.Local
@@ -42,8 +43,17 @@ namespace OpenSim.Region.Communications.Local
private IInventoryServices m_inventoryService;
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ /// Can be null if stats collection is not required.
public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY,
- IInventoryServices inventoryService)
+ IInventoryServices inventoryService, UserStatsReporter statsCollector)
+ : base(statsCollector)
{
m_serversInfo = serversInfo;
--
cgit v1.1