org.eclipse.ecf.presence.chat
Interface IInvitationListener

All Known Implementing Classes:
ChatRoomManagerView, ChatRoomView

public interface IInvitationListener

Invitation listener for handling asynchronous chat room invitation events. Instances implementing this interface must be registered via the IChatRoomManager.addInvitationListener(IInvitationListener)

See Also:
IChatRoomManager.addInvitationListener(IInvitationListener)

Method Summary
 void handleInvitationReceived(ID roomID, ID from, java.lang.String subject, java.lang.String body)
          Handle notification of a received invitation to join chat room.
 

Method Detail

handleInvitationReceived

void handleInvitationReceived(ID roomID,
                              ID from,
                              java.lang.String subject,
                              java.lang.String body)
Handle notification of a received invitation to join chat room. This method will be called by some thread when an invitiation is received by this user account to join a chat room

Parameters:
roomID - the room id associated with the invitation
from - the id of the sender
subject - a subject for the invitation
body - a message body for the invitation