|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Terminal
Terminals are object that are waiting for incoming connections. Once a connection to a terminal is established the interpreter is called using the configured URI.
The term terminal is chosen as a tribute to JTAPI.
A terminal is responsible to accept incoming connections and to close the
connection once the user hangs up or if application terminates. Other
functionality, like streaming of audio to the phone should be handled by
the corresponding implementation of a
Telephony implementation (if present) or
by the SpokenInput or
SynthesizedOutput implementations.
It may happen that the Telephony
needs resources from the terminal to fulfill its job. In that case it
is advisable to store a reference to the terminal in a custom implementation
of a ConnectionInformation. The
ConnectionInformation will be passed as an argument to the
RemoteConnectable.connect(org.jvoicexml.ConnectionInformation)
calls, once the resource is needed.
| Method Summary | |
|---|---|
String |
getName()
Retrieves the name of a terminal. |
void |
stopWaiting()
Stops waiting for incoming connections. |
void |
waitForConnections()
Starts waiting for incoming connections. |
| Method Detail |
|---|
String getName()
void waitForConnections()
throws IOException
This method is called if the CallManager starts up.
IOException - error waiting for connections.void stopWaiting()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||