Except as otherwise noted,
the content of this page is licensed under the Creative Commons
Attribution 2.5 License.
Provides operations for making rpc calls.
<static>
call(targetId, serviceName, callback, var_args)
<static>
register(serviceName, handler)
<static>
registerDefault(handler)
<static>
unregister(serviceName)
<static>
unregisterDefault()
<static> call(targetId, serviceName, callback, var_args)
String targetId - Id of the RPC service provider.
Empty if calling the parent container.
String serviceName - Service name to call.
Function, null callback - Callback function (if any) to process
the return value of the RPC request.
* var_args - Parameters for the RPC request.
<static> register(serviceName, handler)
String serviceName - Service name to register.
Function handler - Service handler.
<static> registerDefault(handler)
Function handler - Service handler.
<static> unregister(serviceName)
String serviceName - Service name to unregister.
<static> unregisterDefault()