org.qtunes.speaker.spi.justeport.javasoundspi
Class AirtunesInfo

java.lang.Object
  extended by javax.sound.sampled.Mixer.Info
      extended by org.qtunes.speaker.spi.justeport.javasoundspi.AirtunesInfo

public class AirtunesInfo
extends Mixer.Info

Represents a single Airtunes object - an Airport


Constructor Summary
AirtunesInfo(String host)
          Create a new AirtunesInfo
AirtunesInfo(String host, int port)
          Create a new AirtunesInfo with the specified mixer name
 
Method Summary
 String getHost()
          Get the host address
 int getPort()
          Get the host port
 
Methods inherited from class javax.sound.sampled.Mixer.Info
equals, getDescription, getName, getVendor, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AirtunesInfo

public AirtunesInfo(String host)
Create a new AirtunesInfo

Parameters:
host - the host, eg "airport.local"

AirtunesInfo

public AirtunesInfo(String host,
                    int port)
Create a new AirtunesInfo with the specified mixer name

Parameters:
host - the host, eg "airport.local"
port - the port to connect to - the default is 5000
Method Detail

getHost

public String getHost()
Get the host address


getPort

public int getPort()
Get the host port