src/net/java/sip/communicator/service/protocol/AbstractChatRoom.java
/**
     * Processes the <tt>ConferenceDescription</tt> instance and adds/removes 
     * it to the list of conferences.
     * 
     * @param cd the <tt>ConferenceDescription</tt> instance to process.
     * @param participantName the name of the participant that sent the 
     * <tt>ConferenceDescription</tt>.
     * @return <tt>true</tt> on success and <tt>false</tt> if fail.
     */
Processes the ConferenceDescription instance and adds/removes
it to the list of conferences.

@param cd the ConferenceDescription instance to process.
@param participantName the name of the participant that sent the
ConferenceDescription.
@return true on success and false if fail.
Processes the ConferenceDescription instance and adds / removes it to the list of conferences . @param cd the ConferenceDescription instance to process . @param participantName the name of the participant that sent the ConferenceDescription . @return true on success and false if fail .
protected boolean processConferenceDescription(ConferenceDescription cd, 
        Resourcepart participantName)
    {
        if(cd.isAvailable())
        {
            if(cachedConferenceDescriptions.containsKey(participantName))
                return false;
            cachedConferenceDescriptions.put(participantName, cd);
        }
        else
        {
            ConferenceDescription cachedDescription
                = cachedConferenceDescriptions.get(participantName);
            if(cachedDescription == null
                || !cd.compareConferenceDescription(cachedDescription))
                return false;
            cachedConferenceDescriptions.remove(participantName);
        }
        return true;
    }
protected boolean processConferenceDescription ( ConferenceDescription cd , Resourcepart participantName ) { if ( cd . isAvailable ( ) ) { if ( cachedConferenceDescriptions . containsKey ( participantName ) ) return false ; cachedConferenceDescriptions . put ( participantName , cd ) ; } else { ConferenceDescription cachedDescription = cachedConferenceDescriptions . get ( participantName ) ; if ( cachedDescription == null || ! cd . compareConferenceDescription ( cachedDescription ) ) return false ; cachedConferenceDescriptions . remove ( participantName ) ; } return true ; }
Processes the <tt>ConferenceDescription</tt> instance and adds/removes
 it to the list of conferences.
Processes the <tt > ConferenceDescription< / tt > instance and adds / removes it to the list of conferences .