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 ([email protected]), Luke Hubbard ([email protected])

Method Summary
 boolean invoke(IServiceCall call, IScope scope)
          Execute the passed service call in the given scope.
 boolean invoke(IServiceCall call, Object service)
          Execute the passed service call in the given object.
 

Method Detail

invoke

boolean invoke(IServiceCall call,
               IScope scope)
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 invoke
scope - the scope to search for a handler
Returns:
true if the call was performed, otherwise false

invoke

boolean invoke(IServiceCall call,
               Object service)
Execute the passed service call in the given object.

Parameters:
call - the call to invoke
service - the service to use
Returns:
true if the call was performed, otherwise false


Copyright © 2006-2012 The Red5 Project