|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.client.text.ConsoleClient
public final class ConsoleClient
Console client for JVoiceXML.
| Method Summary | |
|---|---|
void |
connected(InetSocketAddress remote)
Notification that a connection with the server has been established. |
void |
disconnected()
Notification about a disconnect from the server. |
static void |
main(String[] args)
Start routine. |
void |
outputSsml(org.jvoicexml.xml.ssml.SsmlDocument document)
Notification that an SSML document has arrived. |
void |
outputText(String text)
Notification that a portion of text has arrived. |
String |
readLine()
Read an input from the command line. |
void |
started()
Notification that the server thread has started. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void started()
started in interface TextListenerpublic void connected(InetSocketAddress remote)
connected in interface TextListenerremote - address of the server.public void outputText(String text)
outputText in interface TextListenertext - the received text.public void outputSsml(org.jvoicexml.xml.ssml.SsmlDocument document)
outputSsml in interface TextListenerdocument - the received SSML document.public void disconnected()
disconnected in interface TextListener
public String readLine()
throws IOException
IOException - error reading the next linepublic static void main(String[] args)
args - URI of the application to call
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||