|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.text.TextTelephony
public final class TextTelephony
Text based implementation of Telephony.
| Constructor Summary | |
|---|---|
TextTelephony()
Constructs a new object. |
|
| Method Summary | |
|---|---|
void |
activate()
|
void |
addListener(TelephonyListener callListener)
|
void |
close()
|
void |
connect(ConnectionInformation info)
|
void |
disconnect(ConnectionInformation client)
|
AudioFormat |
getRecordingAudioFormat()
|
String |
getType()
|
boolean |
isBusy()
|
void |
open()
|
void |
passivate()
|
void |
play(SynthesizedOutput output,
CallControlProperties props)
|
void |
record(SpokenInput input,
CallControlProperties props)
|
void |
removeListener(TelephonyListener callListener)
|
void |
startRecording(SpokenInput input,
OutputStream stream,
CallControlProperties props)
|
void |
stopPlay()
|
void |
stopRecording()
|
void |
transfer(String dest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextTelephony()
| Method Detail |
|---|
public void play(SynthesizedOutput output,
CallControlProperties props)
throws NoresourceError,
IOException
play in interface TelephonyNoresourceError
IOException
public void stopPlay()
throws NoresourceError
stopPlay in interface TelephonyNoresourceError
public void record(SpokenInput input,
CallControlProperties props)
throws NoresourceError,
IOException
record in interface TelephonyNoresourceError
IOExceptionpublic AudioFormat getRecordingAudioFormat()
getRecordingAudioFormat in interface Telephonynull since we do not support audio recordings.
public void startRecording(SpokenInput input,
OutputStream stream,
CallControlProperties props)
throws NoresourceError,
IOException
startRecording in interface TelephonyNoresourceError
IOException
public void stopRecording()
throws NoresourceError
stopRecording in interface TelephonyNoresourceError
public void transfer(String dest)
throws NoresourceError
transfer in interface TelephonyNoresourceErrorpublic void activate()
activate in interface ExternalResourcepublic void close()
close in interface ExternalResourcepublic String getType()
getType in interface ExternalResourcepublic boolean isBusy()
isBusy in interface ExternalResource
public void open()
throws NoresourceError
open in interface ExternalResourceNoresourceErrorpublic void passivate()
passivate in interface ExternalResource
public void connect(ConnectionInformation info)
throws IOException
connect in interface RemoteConnectableIOExceptionpublic void disconnect(ConnectionInformation client)
disconnect in interface RemoteConnectablepublic void addListener(TelephonyListener callListener)
addListener in interface ObservableTelephonypublic void removeListener(TelephonyListener callListener)
removeListener in interface ObservableTelephony
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||