ClientServiceProxy handles client requests to a certain service and its
responses.
public function invokeByName(methodName:String):MethodInvocationCallback
Invokes the method with passed-in methodName on the service.
methodName | the name of the method to invoke |
a callback that can be used to get informed of the response
public function invokeByNameAndArguments(methodName:String, args:Array):MethodInvocationCallback
Invokes the method with passed-in methodName on the service, passing the
given args.
methodName | the name of the method to invoke |
args | the arguments to pass to the method |
a callback that can be used to get informed of the response
public function invokeByNameAndCallback(methodName:String, callback:MethodInvocationCallback):MethodInvocationCallback
Invokes the method with passed-in methodName on the service.
When the response arrives the appropriate callback method is invoked.
If the passed-in callback is not null or undefined,
the returned callback is the same.
methodName | the name of the method to invoke |
callback | the callback that receives the return value or errors |
a callback that can be used to get informed of the response
public function invokeByNameAndArgumentsAndCallback(methodName:String, args:Array, callback:MethodInvocationCallback):MethodInvocationCallback
Invokes the method with passed-in methodName on the service, passing the
arguments.
When the response arrives the appropriate callback method is invoked.
If the passed-in callback is not null or undefined,
the returned callback is the same.
methodName | the name of the method to be invoked |
args | the arguments to pass to the method |
callback | the callback to receive the response or possible failures |
a callback that can be used to get informed of the response