cnrg.itx.datax.devices
Class JSpeakerDestination

java.lang.Object
  |
  +--cnrg.itx.datax.devices.JSpeakerDestination

public class JSpeakerDestination
extends java.lang.Object
implements Destination


Constructor Summary
JSpeakerDestination()
           
 
Method Summary
 void close()
           
 PropertiesCollection getProperties()
          Returns a collection of properties supported.
 Stats getStatistics()
          Method to get the statistics for the speaker device.
 boolean mute(boolean state)
           
 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
 void write(byte[] data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSpeakerDestination

public JSpeakerDestination()
                    throws DataException
Method Detail

close

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

mute

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

write

public void write(byte[] data)
Specified by:
write in interface Destination

getStatistics

public Stats getStatistics()
Method to get the statistics for the speaker device.
Returns:
Stats the statistics for the speaker device

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

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.