use of org.eclipse.ecf.presence.chatroom.IChatRoomInvitationListener in project ecf by eclipse.
the class XMPPChatRoomManager method fireInvitationReceived.
protected void fireInvitationReceived(ID roomID, ID fromID, ID toID, String subject, String body) {
List toNotify = null;
synchronized (invitationListeners) {
toNotify = new ArrayList(invitationListeners);
}
for (final Iterator i = toNotify.iterator(); i.hasNext(); ) {
final IChatRoomInvitationListener l = (IChatRoomInvitationListener) i.next();
l.handleInvitationReceived(roomID, fromID, subject, body);
}
}
Aggregations