org.eclipse.ecf.presence
Interface IMessageSender


Deprecated. to receive messages use IChatManager.getChatMessageSender()

public interface IMessageSender

Interface for sending text messages (IM) between users. Access to instances implementing this interface is provided by IPresenceContainerAdapter.getMessageSender()


Method Summary
 void sendMessage(ID toID, java.lang.String subject, java.lang.String body)
          Deprecated. Send text message
 

Method Detail

sendMessage

void sendMessage(ID toID,
                 java.lang.String subject,
                 java.lang.String body)
                 throws ECFException
Deprecated. 
Send text message

Parameters:
toID - the user id of the target receiver of the message. Cannot be null
subject - the subject of the message
body - the message body
Throws:
ECFException - thrown if message cannot be sent (e.g. because of previous disconnection)