<class>
Connections listConnections is the class of all connections to the browser. The call will return a list of the names of all the connections.
<class>:<instanceId>
StartableServers:Recognizer startStartableServers:Recognizer identifies a StartableServer by the name Recognizer. The call will cause the server to be started.
<class>:<instanceId>.<attribute>
StartableServers:Recognizer.commandLine getcommandLine is an attribute of the StartableServer Recognizer. The call will return the commandLine for the Recognizer.
If the value of an attribute of the object is an object itself, one might have identifiers like:
StartableServers:Recognizer.connection.state getWhere connection is an attribute of the recognizer StartableServer, and state is an attribute of the connection. NOTE: In order for the parsing of messages to work, object identifiers etc containing whitespace or periods (".") must be quoted. It may look like this:
StartableServers."My Server"or
StartableServers."My \"Server\""In the second case, quotes in a quoted string are preceded by a \ to indicate that they are not the part of the outer quotation.
These functions work as follows. <publication> is the name of an object which one can subscribe to.
<publication> subscribe <moduleName> <moduleData>Result:
<subscriptionId>
The result is an identifier used to refer to this subscription in future calls.
When the object changes, moduleName receives a call of the form:
Subscription.<moduleData> notify <notification message>If for some reason the module with the publication wishes to cancel the subscription, it will make a call like:
Subscription.<moduleData> cancel
<publication> cancelSubscription <subscriptionId>Result:
none
© Copyright 1997, 1998 Erland Lewin and the members of the Center for Speech Technology