org.jdesktop.wonderland.client.softphone
Interface SoftphoneControl

All Known Implementing Classes:
SoftphoneControlImpl

public interface SoftphoneControl


Field Summary
static java.lang.String SOFTPHONE_PROP
           
 
Method Summary
 void addMicrophoneInfoListener(MicrophoneInfoListener listener)
           
 void addSoftphoneListener(SoftphoneListener listener)
           
 void addSpeakerInfoListener(SpeakerInfoListener listener)
           
 AudioQuality getAudioQuality()
           
 java.lang.String getCallID()
           
 boolean isConnected()
           
 boolean isMuted()
           
 boolean isRunning()
           
 boolean isVisible()
           
 void logAudioProblem()
           
 void mute(boolean isMuted)
           
 void pauseRecordingAudio()
           
 void recordAudio(java.lang.String recordingPath, boolean recordMic)
           
 void register(java.lang.String registrarAddress)
           
 void removeMicrophoneInfoListener(MicrophoneInfoListener listener)
           
 void removeSoftphoneListener(SoftphoneListener listener)
           
 void removeSpeakerInfoListener(SpeakerInfoListener listener)
           
 void resumeRecordingAudio()
           
 void runLineTest()
           
 void sendCommandToSoftphone(java.lang.String cmd)
           
 void setAudioQuality(AudioQuality quality)
           
 void setCallID(java.lang.String callID)
           
 void setVisible(boolean isVisible)
           
 void startMicVuMeter(boolean startVuMeter)
           
 java.lang.String startSoftphone(java.lang.String userName, java.lang.String registrarAddress, int registrarTimeout, java.lang.String localHost)
           
 void startSpeakerVuMeter(boolean startSpeakerVuMeter)
           
 void stopRecordingAudio()
           
 void stopSoftphone()
           
 

Field Detail

SOFTPHONE_PROP

static final java.lang.String SOFTPHONE_PROP
See Also:
Constant Field Values
Method Detail

startSoftphone

java.lang.String startSoftphone(java.lang.String userName,
                                java.lang.String registrarAddress,
                                int registrarTimeout,
                                java.lang.String localHost)
                                throws java.io.IOException
Throws:
java.io.IOException

stopSoftphone

void stopSoftphone()
                   throws java.io.IOException
Throws:
java.io.IOException

setCallID

void setCallID(java.lang.String callID)

getCallID

java.lang.String getCallID()

register

void register(java.lang.String registrarAddress)
              throws java.io.IOException
Throws:
java.io.IOException

isRunning

boolean isRunning()

isConnected

boolean isConnected()
                    throws java.io.IOException
Throws:
java.io.IOException

setVisible

void setVisible(boolean isVisible)
                throws java.io.IOException
Throws:
java.io.IOException

isVisible

boolean isVisible()

mute

void mute(boolean isMuted)
          throws java.io.IOException
Throws:
java.io.IOException

isMuted

boolean isMuted()

getAudioQuality

AudioQuality getAudioQuality()

setAudioQuality

void setAudioQuality(AudioQuality quality)
                     throws java.io.IOException
Throws:
java.io.IOException

recordAudio

void recordAudio(java.lang.String recordingPath,
                 boolean recordMic)
                 throws java.io.IOException
Throws:
java.io.IOException

pauseRecordingAudio

void pauseRecordingAudio()
                         throws java.io.IOException
Throws:
java.io.IOException

resumeRecordingAudio

void resumeRecordingAudio()
                          throws java.io.IOException
Throws:
java.io.IOException

stopRecordingAudio

void stopRecordingAudio()
                        throws java.io.IOException
Throws:
java.io.IOException

sendCommandToSoftphone

void sendCommandToSoftphone(java.lang.String cmd)
                            throws java.io.IOException
Throws:
java.io.IOException

runLineTest

void runLineTest()
                 throws java.io.IOException
Throws:
java.io.IOException

logAudioProblem

void logAudioProblem()
                     throws java.io.IOException
Throws:
java.io.IOException

addSoftphoneListener

void addSoftphoneListener(SoftphoneListener listener)

removeSoftphoneListener

void removeSoftphoneListener(SoftphoneListener listener)

addMicrophoneInfoListener

void addMicrophoneInfoListener(MicrophoneInfoListener listener)

removeMicrophoneInfoListener

void removeMicrophoneInfoListener(MicrophoneInfoListener listener)

startMicVuMeter

void startMicVuMeter(boolean startVuMeter)
                     throws java.io.IOException
Throws:
java.io.IOException

addSpeakerInfoListener

void addSpeakerInfoListener(SpeakerInfoListener listener)

removeSpeakerInfoListener

void removeSpeakerInfoListener(SpeakerInfoListener listener)

startSpeakerVuMeter

void startSpeakerVuMeter(boolean startSpeakerVuMeter)
                         throws java.io.IOException
Throws:
java.io.IOException


Open Wonderland - http://openwonderland.org