Package org.red5.server.api.service
Interface IServiceInvoker
- All Known Implementing Classes:
ServiceInvoker
public interface IServiceInvoker
Interface for objects that execute service calls (remote calls from client).
- Author:
- The Red5 Project, Luke Hubbard ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninvoke(IServiceCall call, Object service) Execute the passed service call in the given object.booleaninvoke(IServiceCall call, IScope scope) Execute the passed service call in the given scope.
-
Method Details
-
invoke
Execute the passed service call in the given scope. This looks up the handler for the call in the scope and the context of the scope.- Parameters:
call- the call to invokescope- the scope to search for a handler- Returns:
true
if the call was performed, otherwisefalse
-
invoke
Execute the passed service call in the given object.- Parameters:
call- the call to invokeservice- the service to use- Returns:
true
if the call was performed, otherwisefalse
-