cnrg.itx.datax
Interface Source

All Known Implementing Classes:
NetworkSource, MicrophoneSource, StreamSource

public abstract interface Source
extends Statistics, Properties

Interface to specify a generic push source. A push source pushes data to the destination whenever it is ready.


Method Summary
 void close()
          Interface for closing the source.
 boolean mute(boolean mode)
          Interface to mute the source.
 void start()
          Interface to start the source.
 
Methods inherited from interface cnrg.itx.datax.Statistics
getStatistics
 
Methods inherited from interface cnrg.itx.datax.Properties
getProperties, setPeerProperties, setProperties
 

Method Detail

start

public void start()
Interface to start the source.

mute

public boolean mute(boolean mode)
Interface to mute the source.
Parameters:
mode - true for muting and false for resuming

close

public void close()
Interface for closing the source.