org.teleal.cling.support.renderingcontrol
Class AbstractAudioRenderingControl

java.lang.Object
  extended by org.teleal.cling.support.renderingcontrol.AbstractAudioRenderingControl

public abstract class AbstractAudioRenderingControl
extends Object


Field Summary
protected  PropertyChangeSupport propertyChangeSupport
           
 
Constructor Summary
protected AbstractAudioRenderingControl()
           
protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport)
           
protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport, LastChange lastChange)
           
 
Method Summary
 void fireLastChange()
           
protected  Channel getChannel(String channelName)
           
static org.teleal.cling.model.types.UnsignedIntegerFourBytes getDefaultInstanceID()
           
 LastChange getLastChange()
           
 boolean getLoudness(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName)
           
abstract  boolean getMute(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName)
           
 PropertyChangeSupport getPropertyChangeSupport()
           
abstract  org.teleal.cling.model.types.UnsignedIntegerTwoBytes getVolume(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName)
           
 Short getVolumeDB(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName)
           
 VolumeDBRange getVolumeDBRange(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName)
           
 String listPresets(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
           
 void selectPreset(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String presetName)
           
 void setLoudness(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, boolean desiredLoudness)
           
abstract  void setMute(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, boolean desiredMute)
           
abstract  void setVolume(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, org.teleal.cling.model.types.UnsignedIntegerTwoBytes desiredVolume)
           
 void setVolumeDB(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId, String channelName, Short desiredVolumeDB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyChangeSupport

protected final PropertyChangeSupport propertyChangeSupport
Constructor Detail

AbstractAudioRenderingControl

protected AbstractAudioRenderingControl()

AbstractAudioRenderingControl

protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport)

AbstractAudioRenderingControl

protected AbstractAudioRenderingControl(PropertyChangeSupport propertyChangeSupport,
                                        LastChange lastChange)
Method Detail

getLastChange

public LastChange getLastChange()

fireLastChange

public void fireLastChange()

getPropertyChangeSupport

public PropertyChangeSupport getPropertyChangeSupport()

getDefaultInstanceID

public static org.teleal.cling.model.types.UnsignedIntegerFourBytes getDefaultInstanceID()

listPresets

public String listPresets(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId)
                   throws RenderingControlException
Throws:
RenderingControlException

selectPreset

public void selectPreset(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                         String presetName)
                  throws RenderingControlException
Throws:
RenderingControlException

getMute

public abstract boolean getMute(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                                String channelName)
                         throws RenderingControlException
Throws:
RenderingControlException

setMute

public abstract void setMute(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                             String channelName,
                             boolean desiredMute)
                      throws RenderingControlException
Throws:
RenderingControlException

getVolume

public abstract org.teleal.cling.model.types.UnsignedIntegerTwoBytes getVolume(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                                                                               String channelName)
                                                                        throws RenderingControlException
Throws:
RenderingControlException

setVolume

public abstract void setVolume(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                               String channelName,
                               org.teleal.cling.model.types.UnsignedIntegerTwoBytes desiredVolume)
                        throws RenderingControlException
Throws:
RenderingControlException

getVolumeDB

public Short getVolumeDB(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                         String channelName)
                  throws RenderingControlException
Throws:
RenderingControlException

setVolumeDB

public void setVolumeDB(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                        String channelName,
                        Short desiredVolumeDB)
                 throws RenderingControlException
Throws:
RenderingControlException

getVolumeDBRange

public VolumeDBRange getVolumeDBRange(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                                      String channelName)
                               throws RenderingControlException
Throws:
RenderingControlException

getLoudness

public boolean getLoudness(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                           String channelName)
                    throws RenderingControlException
Throws:
RenderingControlException

setLoudness

public void setLoudness(org.teleal.cling.model.types.UnsignedIntegerFourBytes instanceId,
                        String channelName,
                        boolean desiredLoudness)
                 throws RenderingControlException
Throws:
RenderingControlException

getChannel

protected Channel getChannel(String channelName)
                      throws RenderingControlException
Throws:
RenderingControlException


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.