mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Formatting cleanup.
This commit is contained in:
@@ -70,6 +70,6 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||
{
|
||||
//throw new Exception("The method or operation is not implemented.");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
|
||||
/// <summary>
|
||||
/// Hypergrid login service used in grid mode.
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public class UserLoginAuthService : HGLoginAuthService
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
|
||||
/// <summary>
|
||||
/// Login service used in grid mode.
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public class UserLoginService : LoginService
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
|
||||
UserProfileData userProfile = m_userDataBaseService.GetUserProfile(userUuid);
|
||||
if (null == userProfile)
|
||||
return Util.CreateUnknownUserErrorResponse();
|
||||
return Util.CreateUnknownUserErrorResponse();
|
||||
|
||||
string authed;
|
||||
|
||||
@@ -249,12 +249,12 @@ namespace OpenSim.Grid.UserServer.Modules
|
||||
// "[USER MANAGER]: Authentication by password result from {0} for {1} is {2}",
|
||||
// remoteClient, userUuid, authed);
|
||||
|
||||
XmlRpcResponse response = new XmlRpcResponse();
|
||||
Hashtable responseData = new Hashtable();
|
||||
XmlRpcResponse response = new XmlRpcResponse();
|
||||
Hashtable responseData = new Hashtable();
|
||||
responseData["auth_user"] = authed;
|
||||
response.Value = responseData;
|
||||
|
||||
return response;
|
||||
return response;
|
||||
}
|
||||
|
||||
public XmlRpcResponse XmlRPCGetAvatarPickerAvatar(XmlRpcRequest request, IPEndPoint remoteClient)
|
||||
|
||||
@@ -187,13 +187,13 @@ namespace OpenSim.Grid.UserServer
|
||||
/// <param name="inventoryService"></param>
|
||||
protected virtual void StartupUserServerModules()
|
||||
{
|
||||
m_log.Info("[STARTUP]: Establishing data connection");
|
||||
m_log.Info("[STARTUP]: Establishing data connection");
|
||||
|
||||
//we only need core components so we can request them from here
|
||||
IInterServiceInventoryServices inventoryService;
|
||||
TryGet<IInterServiceInventoryServices>(out inventoryService);
|
||||
|
||||
CommunicationsManager commsManager = new UserServerCommsManager(inventoryService);
|
||||
CommunicationsManager commsManager = new UserServerCommsManager(inventoryService);
|
||||
|
||||
//setup database access service, for now this has to be created before the other modules.
|
||||
m_userDataBaseService = new UserDataBaseService(commsManager);
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
using OpenSim.Framework.Communications;
|
||||
|
||||
namespace OpenSim.Grid.UserServer
|
||||
{
|
||||
{
|
||||
public class UserServerCommsManager : CommunicationsManager
|
||||
{
|
||||
{
|
||||
public UserServerCommsManager(IInterServiceInventoryServices interServiceInventoryService)
|
||||
: base(null, null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user