org.jvoicexml.implementation.telephony
Interface StreamingTerminal

All Superinterfaces:
Terminal

public interface StreamingTerminal
extends Terminal

A Terminal represents a telephony endpoint managed by a JVoiceXML provider - i.e. It is the line that a person calls to interact with a VoiceXML application.
Streaming terminals play outgoing audio streams (i.e. Audio generated by a VoiceXML application) via their output stream and record incoming audio (i.e. Spoken or DTMF commands) via their input stream.

Since:
0.3
Author:
Davide Bruzzone

Method Summary
 InputStream getInputStream()
          Returns the terminal's input stream.
 OutputStream getOutputStream()
          Returns the terminal's output stream.
 void setInputStream(InputStream inputStream)
          Sets the terminal's input stream.
 void setOutputStream(OutputStream outputStream)
          Sets the terminal's output stream.
 
Methods inherited from interface org.jvoicexml.implementation.telephony.Terminal
answer, getName, hangup, playFile, record, setName
 

Method Detail

getInputStream

InputStream getInputStream()
Returns the terminal's input stream. Streaming terminals record incoming audio (i.e. Spoken or DTMF commands) via their input stream.

Returns:
The terminal's input stream

setInputStream

void setInputStream(InputStream inputStream)
Sets the terminal's input stream. Streaming terminals record incoming audio (i.e. Spoken or DTMF commands) via their input stream.

Parameters:
inputStream - The terminal's input stream

getOutputStream

OutputStream getOutputStream()
Returns the terminal's output stream. Streaming terminals play outgoing audio streams (i.e. Audio generated by a VoiceXML application) via their output stream.

Returns:
The terminal's output stream

setOutputStream

void setOutputStream(OutputStream outputStream)
Sets the terminal's output stream. Streaming terminals play outgoing audio streams (i.e. Audio generated by a VoiceXML application) via their output stream.

Parameters:
outputStream - The terminal's output stream


Copyright © 2005-2007 JVoiceXML group.