public void freeFiltersWithSource(Object objSource)
    {
        Object[] rgFilter = m_mapFilters.values().toArray();
        for (int i = 0; i < rgFilter.length; i++)
        {
            BaseMessageFilter filter = (BaseMessageFilter)rgFilter[i];
            if (filter.getMessageSource() == objSource)
                filter.free();
        }
    }
public void freeFiltersWithSource ( Object objSource ) { Object [ ] rgFilter = m_mapFilters . values ( ) . toArray ( ) ; for ( int i = 0 ; i < rgFilter . length ; i ++ ) { BaseMessageFilter filter = ( BaseMessageFilter ) rgFilter [ i ] ; if ( filter . getMessageSource ( ) == objSource ) filter . free ( ) ; } }
Remove all the filters that have this as a listener.
@param listener Filters with this listener will be removed (pass null to free them all).