src/net/java/sip/communicator/service/protocol/AbstractOperationSetMultiUserChat.java
/**
     * Delivers a <tt>ChatRoomInvitationRejectedEvent</tt> to all
     * registered <tt>ChatRoomInvitationRejectionListener</tt>s.
     *
     * @param sourceChatRoom the room that invitation refers to
     * @param invitee the name of the invitee that rejected the invitation
     * @param reason the reason of the rejection
     */
Delivers a ChatRoomInvitationRejectedEvent to all
registered ChatRoomInvitationRejectionListeners.

@param sourceChatRoom the room that invitation refers to
@param invitee the name of the invitee that rejected the invitation
@param reason the reason of the rejection
Delivers a ChatRoomInvitationRejectedEvent to all registered ChatRoomInvitationRejectionListeners . @param sourceChatRoom the room that invitation refers to @param invitee the name of the invitee that rejected the invitation @param reason the reason of the rejection
protected void fireInvitationRejectedEvent(ChatRoom sourceChatRoom,
                                            String invitee,
                                            String reason)
    {
        ChatRoomInvitationRejectedEvent evt
            = new ChatRoomInvitationRejectedEvent(
                    this,
                    sourceChatRoom,
                    invitee,
                    reason,
                    new Date());
        ChatRoomInvitationRejectionListener[] listeners;
        synchronized (invitationRejectionListeners)
        {
            listeners
                = invitationRejectionListeners
                    .toArray(
                        new ChatRoomInvitationRejectionListener[
                                invitationRejectionListeners.size()]);
        }
        for (ChatRoomInvitationRejectionListener listener : listeners)
            listener.invitationRejected(evt);
    }
protected void fireInvitationRejectedEvent ( ChatRoom sourceChatRoom , String invitee , String reason ) { ChatRoomInvitationRejectedEvent evt = new ChatRoomInvitationRejectedEvent ( this , sourceChatRoom , invitee , reason , new Date ( ) ) ; ChatRoomInvitationRejectionListener [ ] listeners ; synchronized ( invitationRejectionListeners ) { listeners = invitationRejectionListeners . toArray ( new ChatRoomInvitationRejectionListener [ invitationRejectionListeners . size ( ) ] ) ; } for ( ChatRoomInvitationRejectionListener listener : listeners ) listener . invitationRejected ( evt ) ; }
Delivers a <tt>ChatRoomInvitationRejectedEvent</tt> to all
 registered <tt>ChatRoomInvitationRejectionListener</tt>s.
Delivers a <tt > ChatRoomInvitationRejectedEvent< / tt > to all registered <tt > ChatRoomInvitationRejectionListener< / tt > s .