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 (luke@codegent.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    invoke(IServiceCall call, Object service)
    Execute the passed service call in the given object.
    boolean
    invoke(IServiceCall call, IScope scope)
    Execute the passed service call in the given scope.
  • Method Details

    • 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