diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IXMLRPC.cs (renamed from OpenSim/Region/Environment/Interfaces/IXMLRPC.cs) | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs index 88e9ab5..6570b0a 100644 --- a/OpenSim/Region/Environment/Interfaces/IXMLRPC.cs +++ b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs | |||
@@ -26,10 +26,28 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Region.Environment.Modules.Scripting.XMLRPC; | 29 | using Nwc.XmlRpc; |
30 | 30 | ||
31 | namespace OpenSim.Region.Environment.Interfaces | 31 | // using OpenSim.Region.Environment.Modules.Scripting.XMLRPC; |
32 | |||
33 | namespace OpenSim.Region.Framework.Interfaces | ||
32 | { | 34 | { |
35 | public interface IXmlRpcRequestInfo | ||
36 | { | ||
37 | bool IsProcessed(); | ||
38 | UUID GetChannelKey(); | ||
39 | void SetProcessed(bool processed); | ||
40 | void SetStrRetval(string resp); | ||
41 | string GetStrRetval(); | ||
42 | void SetIntRetval(int resp); | ||
43 | int GetIntRetval(); | ||
44 | uint GetLocalID(); | ||
45 | UUID GetItemID(); | ||
46 | string GetStrVal(); | ||
47 | int GetIntValue(); | ||
48 | UUID GetMessageID(); | ||
49 | } | ||
50 | |||
33 | public interface IXMLRPC | 51 | public interface IXMLRPC |
34 | { | 52 | { |
35 | UUID OpenXMLRPCChannel(uint localID, UUID itemID, UUID channelID); | 53 | UUID OpenXMLRPCChannel(uint localID, UUID itemID, UUID channelID); |
@@ -37,11 +55,11 @@ namespace OpenSim.Region.Environment.Interfaces | |||
37 | bool hasRequests(); | 55 | bool hasRequests(); |
38 | void RemoteDataReply(string channel, string message_id, string sdata, int idata); | 56 | void RemoteDataReply(string channel, string message_id, string sdata, int idata); |
39 | bool IsEnabled(); | 57 | bool IsEnabled(); |
40 | RPCRequestInfo GetNextCompletedRequest(); | 58 | IXmlRpcRequestInfo GetNextCompletedRequest(); |
41 | void RemoveCompletedRequest(UUID id); | 59 | void RemoveCompletedRequest(UUID id); |
42 | void DeleteChannels(UUID itemID); | 60 | void DeleteChannels(UUID itemID); |
43 | UUID SendRemoteData(uint localID, UUID itemID, string channel, string dest, int idata, string sdata); | 61 | UUID SendRemoteData(uint localID, UUID itemID, string channel, string dest, int idata, string sdata); |
44 | SendRemoteDataRequest GetNextCompletedSRDRequest(); | 62 | IServiceRequest GetNextCompletedSRDRequest(); |
45 | void RemoveCompletedSRDRequest(UUID id); | 63 | void RemoveCompletedSRDRequest(UUID id); |
46 | void CancelSRDRequests(UUID itemID); | 64 | void CancelSRDRequests(UUID itemID); |
47 | } | 65 | } |