src/net/java/sip/communicator/impl/protocol/jabber/CallJabberImpl.java
/**
     * Closes a specific <tt>ColibriStreamConnector</tt> which is associated with
     * a <tt>MediaStream</tt> of a specific <tt>MediaType</tt> upon request from
     * a specific <tt>CallPeer</tt>.
     *
     * @param peer the <tt>CallPeer</tt> which requests the closing of the
     * specified <tt>colibriStreamConnector</tt>
     * @param mediaType the <tt>MediaType</tt> of the <tt>MediaStream</tt> with
     * which the specified <tt>colibriStreamConnector</tt> is associated
     * @param colibriStreamConnector the <tt>ColibriStreamConnector</tt> to close on
     * behalf of the specified <tt>peer</tt>
     */
Closes a specific ColibriStreamConnector which is associated with
a MediaStream of a specific MediaType upon request from
a specific CallPeer.

@param peer the CallPeer which requests the closing of the
specified colibriStreamConnector
@param mediaType the MediaType of the MediaStream with
which the specified colibriStreamConnector is associated
@param colibriStreamConnector the ColibriStreamConnector to close on
behalf of the specified peer
Closes a specific ColibriStreamConnector which is associated with a MediaStream of a specific MediaType upon request from a specific CallPeer . @param peer the CallPeer which requests the closing of the specified colibriStreamConnector @param mediaType the MediaType of the MediaStream with which the specified colibriStreamConnector is associated @param colibriStreamConnector the ColibriStreamConnector to close on behalf of the specified peer
public void closeColibriStreamConnector(
            CallPeerJabberImpl peer,
            MediaType mediaType,
            ColibriStreamConnector colibriStreamConnector)
    {
        colibriStreamConnector.close();
        synchronized (colibriStreamConnectors)
        {
            int index = mediaType.ordinal();
            WeakReference<ColibriStreamConnector> weakReference
                    = colibriStreamConnectors.get(index);
            if (weakReference != null && colibriStreamConnector
                    .equals(weakReference.get()))
            {
                colibriStreamConnectors.set(index, null);
            }
        }
    }
public void closeColibriStreamConnector ( CallPeerJabberImpl peer , MediaType mediaType , ColibriStreamConnector colibriStreamConnector ) { colibriStreamConnector . close ( ) ; synchronized ( colibriStreamConnectors ) { int index = mediaType . ordinal ( ) ; WeakReference < ColibriStreamConnector > weakReference = colibriStreamConnectors . get ( index ) ; if ( weakReference != null && colibriStreamConnector . equals ( weakReference . get ( ) ) ) { colibriStreamConnectors . set ( index , null ) ; } } }
Closes a specific <tt>ColibriStreamConnector</tt> which is associated with
 a <tt>MediaStream</tt> of a specific <tt>MediaType</tt> upon request from
 a specific <tt>CallPeer</tt>.
Closes a specific <tt > ColibriStreamConnector< / tt > which is associated with a <tt > MediaStream< / tt > of a specific <tt > MediaType< / tt > upon request from a specific <tt > CallPeer< / tt > .