public void removeConversation(Conversation conv) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "removeConversation", conv);

        synchronized (activeConversations) {
            Object connectionReference = conv.getConnectionReference();
            ArrayList list = (ArrayList) activeConversations.get(connectionReference);
            if (list != null) {
                list.remove(conv);

                if (list.size() == 0) {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        SibTr.debug(this, tc, "List is now empty, removing connection object");
                    activeConversations.remove(connectionReference);
                }
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "removeConversation");
    }
public void removeConversation ( Conversation conv ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "removeConversation" , conv ) ; synchronized ( activeConversations ) { Object connectionReference = conv . getConnectionReference ( ) ; ArrayList list = ( ArrayList ) activeConversations . get ( connectionReference ) ; if ( list != null ) { list . remove ( conv ) ; if ( list . size ( ) == 0 ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "List is now empty, removing connection object" ) ; activeConversations . remove ( connectionReference ) ; } } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "removeConversation" ) ; }
This method removes a conversation from the list of active conversations. This would be called
if the connection is closed or if a failure is deteceted.

@param conv