org.eclipse.ecf.presence
Interface IPresenceSender


public interface IPresenceSender

Send presence change events to remotes on buddy list.


Method Summary
 void sendPresenceUpdate(ID targetID, IPresence presence)
          Send a presence update to a remote user
 

Method Detail

sendPresenceUpdate

void sendPresenceUpdate(ID targetID,
                        IPresence presence)
                        throws ECFException
Send a presence update to a remote user

Parameters:
targetID - the ID of the target user for the presence update. If null, the presence update is sent to all users in current roster. If non-null the presence update is sent only to the given targetID.
presence - the presence information. Should not be null.
Throws:
ECFException - thrown if request cannot be sent (e.g. because of previous disconnect).