public class ServiceInvoker extends Object implements IServiceInvoker
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME
Service name
|
| Constructor and Description |
|---|
ServiceInvoker() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
setServiceResolvers(Set<IServiceResolver> resolvers)
Setter for service resolvers.
|
public static final String SERVICE_NAME
public void setServiceResolvers(Set<IServiceResolver> resolvers)
resolvers - Service resolverspublic boolean invoke(IServiceCall call, IScope scope)
invoke in interface IServiceInvokercall - the call to invokescope - the scope to search for a handlertrueif the call was performed, otherwise
false
public boolean invoke(IServiceCall call, Object service)
invoke in interface IServiceInvokercall - the call to invokeservice - the service to usetrueif the call was performed, otherwise
false
Copyright © 2005–2017 Red5. All rights reserved.