All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface SE.kth.speech.broker.TextInterface

public interface TextInterface
An interface for classes which can interpret calls in text form from a broker. BrojerObject extends this interface.

See Also:
BrokerObject

Method Index

 o doCommand(BrokerClient, BrokerTokenizer, BrokerTokenizer, Vector)
Execute a command specified by the parameters.

Methods

 o doCommand
 public abstract Object doCommand(BrokerClient broker,
                                  BrokerTokenizer identifier,
                                  BrokerTokenizer commandTok,
                                  Vector vector) throws BrokerException
Execute a command specified by the parameters.

Parameters:
broker - The broker connection that the incoming call came in on.
identifier - The attribute of the object which the call pertains to
commandTok - A tokenizer on the actual command and its arguments
vector - The remaining lines of the call, if it was a multiline call
Returns:
s The result of the call, which must be of a form which ServiceProvider.brokerCall may return, in most cases a String or a Vector of Strings
See Also:
brokerCall

All Packages  Class Hierarchy  This Package  Previous  Next  Index