diff options
author | Melanie Thielker | 2009-03-29 05:42:27 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-03-29 05:42:27 +0000 |
commit | c483206fd7ecd67ac4fc8c4e4b71f65dfd3de6c4 (patch) | |
tree | 74474e6dd9b3ed66c23c1de8af0283d3fbc0e896 /OpenSim/Framework | |
parent | Finish the offline IM module (still needs a server). Add rudimentary (diff) | |
download | opensim-SC-c483206fd7ecd67ac4fc8c4e4b71f65dfd3de6c4.zip opensim-SC-c483206fd7ecd67ac4fc8c4e4b71f65dfd3de6c4.tar.gz opensim-SC-c483206fd7ecd67ac4fc8c4e4b71f65dfd3de6c4.tar.bz2 opensim-SC-c483206fd7ecd67ac4fc8c4e4b71f65dfd3de6c4.tar.xz |
Change the client API to use GridInstantMessage for the "last mile" of IM
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Client/IClientIM.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 6 |
2 files changed, 2 insertions, 12 deletions
diff --git a/OpenSim/Framework/Client/IClientIM.cs b/OpenSim/Framework/Client/IClientIM.cs index 04c6d6c..81b1d9e 100644 --- a/OpenSim/Framework/Client/IClientIM.cs +++ b/OpenSim/Framework/Client/IClientIM.cs | |||
@@ -61,13 +61,7 @@ namespace OpenSim.Framework.Client | |||
61 | 61 | ||
62 | public interface IClientIM | 62 | public interface IClientIM |
63 | { | 63 | { |
64 | void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, | 64 | void SendInstantMessage(GridInstantMessage im); |
65 | string fromName, byte dialog, uint timeStamp); | ||
66 | |||
67 | void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, | ||
68 | string fromName, byte dialog, uint timeStamp, | ||
69 | UUID transactionID, bool fromGroup, | ||
70 | byte[] binaryBucket); | ||
71 | 65 | ||
72 | event ImprovedInstantMessage OnInstantMessage; | 66 | event ImprovedInstantMessage OnInstantMessage; |
73 | } | 67 | } |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index bef1bfc..350134c 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -815,11 +815,7 @@ namespace OpenSim.Framework | |||
815 | void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source, | 815 | void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source, |
816 | byte audible); | 816 | byte audible); |
817 | 817 | ||
818 | void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog, | 818 | void SendInstantMessage(GridInstantMessage im); |
819 | uint timeStamp); | ||
820 | |||
821 | void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog, | ||
822 | uint timeStamp, UUID transactionID, bool fromGroup, byte[] binaryBucket); | ||
823 | 819 | ||
824 | void SendGenericMessage(string method, List<string> message); | 820 | void SendGenericMessage(string method, List<string> message); |
825 | 821 | ||