org.eclipse.ecf.presence.chatroom
Interface IChatRoomInvitationSender


public interface IChatRoomInvitationSender

Represents ability to send a chat room invitation to a given target.


Method Summary
 void sendInvitation(ID room, ID targetUser, java.lang.String subject, java.lang.String body)
          Send invitation to join in chat room to target user.
 

Method Detail

sendInvitation

void sendInvitation(ID room,
                    ID targetUser,
                    java.lang.String subject,
                    java.lang.String body)
                    throws ECFException
Send invitation to join in chat room to target user.

Parameters:
room - the ID of the room that the invitation is for. Must not be null.
targetUser - the ID of the targetUser to send the invitation to. Must not be null.
subject - an optional subject for the invitation. May be null.
body - an optional body for the invitation message. May be null.
Throws:
ECFException - if connection disconnected or some other error preventing sending of the invitation.