cnrg.itx.datax.devices
Class JMicrophoneSource

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--cnrg.itx.datax.devices.JMicrophoneSource

public class JMicrophoneSource
extends java.lang.Thread
implements Source


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JMicrophoneSource(Channel ch)
           
 
Method Summary
 void close()
           
 PropertiesCollection getProperties()
          Returns a collection of properties supported.
 Stats getStatistics()
           
 boolean mute(boolean state)
           
 void run()
           
 void setPeerProperties(PropertiesCollection pc)
          Interface to set the given properties collection into the device.
 void setProperties(PropertiesCollection pc)
          Sets the given properties collection into the device (local);
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMicrophoneSource

public JMicrophoneSource(Channel ch)
                  throws DataException
Method Detail

mute

public boolean mute(boolean state)
Specified by:
mute in interface Source

close

public void close()
Specified by:
close in interface Source

getStatistics

public Stats getStatistics()

getProperties

public PropertiesCollection getProperties()
                                   throws DataException
Returns a collection of properties supported.

setProperties

public void setProperties(PropertiesCollection pc)
                   throws DataException
Sets the given properties collection into the device (local);

setPeerProperties

public void setPeerProperties(PropertiesCollection pc)
                       throws DataException
Interface to set the given properties collection into the device. WOrks under the assumption that this is the properties collection of the peer.

run

public void run()
Overrides:
run in class java.lang.Thread