All Packages Class Hierarchy This Package Previous Next Index
Interface SE.kth.speech.broker.ServiceProvider
- public interface ServiceProvider
The interface that a Broker client accepting incoming calls must implement.
- See Also:
- BrokerClient
-
brokerCall(BrokerClient, String)
- Handle an incoming call with inline parameters.
-
brokerCall(BrokerClient, Vector)
- Handle an incoming call with several lines of parameters.
brokerCall
public abstract Object brokerCall(BrokerClient broker,
String data) throws BrokerException
- Handle an incoming call with inline parameters.
- Parameters:
- data - The parameters of the call.
- Returns:
- Either a String, a Vector of Strings or null as the result of the
call.
- Throws: BrokerException
- An error occurred handling the call
brokerCall
public abstract Object brokerCall(BrokerClient broker,
Vector data) throws BrokerException
- Handle an incoming call with several lines of parameters.
- Parameters:
- data - The parameters of the call.
- Returns:
- Either a String, a Vector of Strings or null as the result of the
call.
- Throws: BrokerException
- An error occurred handling the call
All Packages Class Hierarchy This Package Previous Next Index