src/net/java/sip/communicator/service/protocol/media/TransportManager.java
/**
     * Closes a specific <tt>StreamConnector</tt> associated with a specific
     * <tt>MediaType</tt>. If this <tt>TransportManager</tt> has a reference to
     * the specified <tt>streamConnector</tt>, it remains. Allows extenders to
     * override and perform additional customizations to the closing of the
     * specified <tt>streamConnector</tt>.
     *
     * @param mediaType the <tt>MediaType</tt> associated with the specified
     * <tt>streamConnector</tt>
     * @param streamConnector the <tt>StreamConnector</tt> to be closed
     * @see #closeStreamConnector(MediaType)
     */
Closes a specific StreamConnector associated with a specific
MediaType. If this TransportManager has a reference to
the specified streamConnector, it remains. Allows extenders to
override and perform additional customizations to the closing of the
specified streamConnector.

@param mediaType the MediaType associated with the specified
streamConnector
@param streamConnector the StreamConnector to be closed
@see #closeStreamConnector(MediaType)
Closes a specific StreamConnector associated with a specific MediaType . If this TransportManager has a reference to the specified streamConnector it remains . Allows extenders to override and perform additional customizations to the closing of the specified streamConnector . @param mediaType the MediaType associated with the specified streamConnector @param streamConnector the StreamConnector to be closed @see #closeStreamConnector ( MediaType )
protected void closeStreamConnector(
            MediaType mediaType,
            StreamConnector streamConnector)
        throws OperationFailedException
    {
        /*
         * XXX The connected owns the sockets so it is important that it
         * decides whether to close them i.e. this TransportManager is not
         * allowed to explicitly close the sockets by itself.
         */
        streamConnector.close();
    }
protected void closeStreamConnector ( MediaType mediaType , StreamConnector streamConnector ) throws OperationFailedException { /*
         * XXX The connected owns the sockets so it is important that it
         * decides whether to close them i.e. this TransportManager is not
         * allowed to explicitly close the sockets by itself.
         */ streamConnector . close ( ) ; }
Closes a specific <tt>StreamConnector</tt> associated with a specific
 <tt>MediaType</tt>.
Closes a specific <tt > StreamConnector< / tt > associated with a specific <tt > MediaType< / tt > .