From 3476dd56ea9a6b2e597d2a4e8abf679ac0778681 Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Sun, 14 Sep 2008 04:13:15 +0000
Subject: * Converted a number of methods within the login processes from
private to protected. * Made several methods virtual to allow derivative
overrides. * Minor cleanups.
---
OpenSim/Region/Communications/Local/LocalLoginService.cs | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'OpenSim/Region/Communications')
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs
index 2f7fdb7..41093c1 100644
--- a/OpenSim/Region/Communications/Local/LocalLoginService.cs
+++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs
@@ -41,18 +41,18 @@ namespace OpenSim.Region.Communications.Local
public class LocalLoginService : LoginService
{
- private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
+ protected static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
- private CommunicationsLocal m_Parent;
+ protected CommunicationsLocal m_Parent;
- private NetworkServersInfo serversInfo;
- private uint defaultHomeX;
- private uint defaultHomeY;
- private bool authUsers = false;
+ protected NetworkServersInfo serversInfo;
+ protected uint defaultHomeX;
+ protected uint defaultHomeY;
+ protected bool authUsers = false;
public event LoginToRegionEvent OnLoginToRegion;
- private LoginToRegionEvent handlerLoginToRegion = null; // OnLoginToRegion;
+ protected LoginToRegionEvent handlerLoginToRegion = null; // OnLoginToRegion;
public LocalLoginService(UserManagerBase userManager, string welcomeMess,
CommunicationsLocal parent, NetworkServersInfo serversInfo,
@@ -246,7 +246,7 @@ namespace OpenSim.Region.Communications.Local
///
///
/// true if the region was successfully contacted, false otherwise
- private bool PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response)
+ protected bool PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response)
{
response.SimAddress = regionInfo.ExternalEndPoint.Address.ToString();
response.SimPort = (uint)regionInfo.ExternalEndPoint.Port;
--
cgit v1.1