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.
This commit is contained in:
Melanie Thielker
2009-03-29 05:42:27 +00:00
parent 404bfdc9a6
commit c483206fd7
12 changed files with 61 additions and 135 deletions

View File

@@ -61,13 +61,7 @@ namespace OpenSim.Framework.Client
public interface IClientIM
{
void SendInstantMessage(UUID fromAgent, string message, UUID toAgent,
string fromName, byte dialog, uint timeStamp);
void SendInstantMessage(UUID fromAgent, string message, UUID toAgent,
string fromName, byte dialog, uint timeStamp,
UUID transactionID, bool fromGroup,
byte[] binaryBucket);
void SendInstantMessage(GridInstantMessage im);
event ImprovedInstantMessage OnInstantMessage;
}

View File

@@ -815,11 +815,7 @@ namespace OpenSim.Framework
void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source,
byte audible);
void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog,
uint timeStamp);
void SendInstantMessage(UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog,
uint timeStamp, UUID transactionID, bool fromGroup, byte[] binaryBucket);
void SendInstantMessage(GridInstantMessage im);
void SendGenericMessage(string method, List<string> message);