|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.jsapi10.jvxml.RtpTelephony
public final class RtpTelephony
RTP frontend for the JSAPI 1.0 layer.
This class does not offer any telephony support but streaming capablities with RTP technology for other clients, e.g. a console.
| Constructor Summary | |
|---|---|
RtpTelephony()
Constructs a new object. |
|
| Method Summary | |
|---|---|
void |
activate()
|
void |
addListener(TelephonyListener callListener)
|
void |
close()
|
void |
connect(ConnectionInformation info)
|
void |
disconnect(ConnectionInformation info)
|
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 RtpTelephony()
| 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 Telephony
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 info)
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 | |||||||||