com.cloudgarden.audio
Interface AudioServerI

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
AudioInputServerI, AudioOutputServerI
All Known Implementing Classes:
AudioServer

public interface AudioServerI
extends java.rmi.Remote

Remote interface for allowing a client to connect to and disconnect from a server, and to get/set it's AudioFormat.


Method Summary
 void closeConnection()
           
 int getChannels()
           
 java.lang.String getContentType()
           
 int getSampleRate()
           
 int getSampleSizeInBits()
           
 boolean isBigEndian()
           
 boolean isSigned()
           
 boolean openConnection()
           
 void setAudioFormat(int sps, int bits, int chans, boolean signed, boolean be)
           
 void setContentType(java.lang.String contentType)
           
 

Method Detail

getContentType

public java.lang.String getContentType()
                                throws java.rmi.RemoteException

setContentType

public void setContentType(java.lang.String contentType)
                    throws java.rmi.RemoteException

isBigEndian

public boolean isBigEndian()
                    throws java.rmi.RemoteException

isSigned

public boolean isSigned()
                 throws java.rmi.RemoteException

getSampleRate

public int getSampleRate()
                  throws java.rmi.RemoteException

getSampleSizeInBits

public int getSampleSizeInBits()
                        throws java.rmi.RemoteException

getChannels

public int getChannels()
                throws java.rmi.RemoteException

setAudioFormat

public void setAudioFormat(int sps,
                           int bits,
                           int chans,
                           boolean signed,
                           boolean be)
                    throws java.rmi.RemoteException

closeConnection

public void closeConnection()
                     throws java.rmi.RemoteException

openConnection

public boolean openConnection()
                       throws java.rmi.RemoteException