Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.conference
Interface DataSourceFilter


public interface DataSourceFilter

Represents a filter which determines whether a specific DataSource is to be selected or deselected by the caller of the filter.

Author:
Lubomir Marinov

Method Summary
 boolean accept(javax.media.protocol.DataSource dataSource)
          Determines whether a specific DataSource is accepted by this filter i.e.
 

Method Detail

accept

boolean accept(javax.media.protocol.DataSource dataSource)
Determines whether a specific DataSource is accepted by this filter i.e. whether the caller of this filter should include it in its selection.

Parameters:
dataSource - the DataSource to be checked whether it is accepted by this filter
Returns:
true if this filter accepts the specified DataSource i.e. if the caller of this filter should include it in its selection; otherwise, false

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.