Change name of class IUtils ot IntegrationUtils

integration
BlueWall 2012-07-13 22:03:56 -04:00
parent ea7d56b232
commit 1352a38680
4 changed files with 8 additions and 8 deletions

View File

@ -41,7 +41,7 @@ using Nini.Config;
using log4net; using log4net;
using Mono.Addins; using Mono.Addins;
using Ux = OpenSim.Services.IntegrationService.IUtils; using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
namespace OpenSim.Services.IntegrationService namespace OpenSim.Services.IntegrationService
{ {

View File

@ -37,7 +37,7 @@ using GridRegion = OpenSim.Services.Interfaces.GridRegion;
using Mono.Addins; using Mono.Addins;
using log4net; using log4net;
using Ux = OpenSim.Services.IntegrationService.IUtils; using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
[assembly:AddinRoot ("IntegrationService", "2.1")] [assembly:AddinRoot ("IntegrationService", "2.1")]
namespace OpenSim.Services.IntegrationService namespace OpenSim.Services.IntegrationService

View File

@ -38,7 +38,7 @@ using OpenMetaverse.StructuredData;
namespace OpenSim.Services.IntegrationService namespace OpenSim.Services.IntegrationService
{ {
public static class IUtils public static class IntegrationUtils
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@ -82,8 +82,8 @@ namespace OpenSim.Services.IntegrationService
public static byte[] FailureResult(string msg) public static byte[] FailureResult(string msg)
{ {
OSDMap doc = new OSDMap(2); OSDMap doc = new OSDMap(2);
doc["Result"] = OSD.FromString("Failure"); doc["result"] = OSD.FromString("failure");
doc["Message"] = OSD.FromString(msg); doc["message"] = OSD.FromString(msg);
return DocToBytes(doc); return DocToBytes(doc);
} }
@ -91,8 +91,8 @@ namespace OpenSim.Services.IntegrationService
public static byte[] ResponseMessage(string message) public static byte[] ResponseMessage(string message)
{ {
OSDMap doc = new OSDMap(2); OSDMap doc = new OSDMap(2);
doc["Result"] = OSD.FromString("Success"); doc["result"] = OSD.FromString("success");
doc["Message"] = OSD.FromString(message); doc["message"] = OSD.FromString(message);
return DocToBytes(doc); return DocToBytes(doc);
} }

View File

@ -35,7 +35,7 @@ using Mono.Addins;
using Mono.Addins.Setup; using Mono.Addins.Setup;
using Mono.Addins.Description; using Mono.Addins.Description;
using OpenSim.Framework; using OpenSim.Framework;
using Ux = OpenSim.Services.IntegrationService.IUtils; using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
namespace OpenSim.Services.IntegrationService namespace OpenSim.Services.IntegrationService
{ {