Change name of class IUtils ot IntegrationUtils
parent
ea7d56b232
commit
1352a38680
|
@ -41,7 +41,7 @@ using Nini.Config;
|
|||
using log4net;
|
||||
using Mono.Addins;
|
||||
|
||||
using Ux = OpenSim.Services.IntegrationService.IUtils;
|
||||
using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
|
||||
|
||||
namespace OpenSim.Services.IntegrationService
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@ using GridRegion = OpenSim.Services.Interfaces.GridRegion;
|
|||
using Mono.Addins;
|
||||
using log4net;
|
||||
|
||||
using Ux = OpenSim.Services.IntegrationService.IUtils;
|
||||
using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
|
||||
|
||||
[assembly:AddinRoot ("IntegrationService", "2.1")]
|
||||
namespace OpenSim.Services.IntegrationService
|
||||
|
|
|
@ -38,7 +38,7 @@ using OpenMetaverse.StructuredData;
|
|||
|
||||
namespace OpenSim.Services.IntegrationService
|
||||
{
|
||||
public static class IUtils
|
||||
public static class IntegrationUtils
|
||||
{
|
||||
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)
|
||||
{
|
||||
OSDMap doc = new OSDMap(2);
|
||||
doc["Result"] = OSD.FromString("Failure");
|
||||
doc["Message"] = OSD.FromString(msg);
|
||||
doc["result"] = OSD.FromString("failure");
|
||||
doc["message"] = OSD.FromString(msg);
|
||||
|
||||
return DocToBytes(doc);
|
||||
}
|
||||
|
@ -91,8 +91,8 @@ namespace OpenSim.Services.IntegrationService
|
|||
public static byte[] ResponseMessage(string message)
|
||||
{
|
||||
OSDMap doc = new OSDMap(2);
|
||||
doc["Result"] = OSD.FromString("Success");
|
||||
doc["Message"] = OSD.FromString(message);
|
||||
doc["result"] = OSD.FromString("success");
|
||||
doc["message"] = OSD.FromString(message);
|
||||
|
||||
return DocToBytes(doc);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ using Mono.Addins;
|
|||
using Mono.Addins.Setup;
|
||||
using Mono.Addins.Description;
|
||||
using OpenSim.Framework;
|
||||
using Ux = OpenSim.Services.IntegrationService.IUtils;
|
||||
using Ux = OpenSim.Services.IntegrationService.IntegrationUtils;
|
||||
|
||||
namespace OpenSim.Services.IntegrationService
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue