Except as otherwise noted,
the content of this page is licensed under the Creative Commons
Attribution 3.0 License.
Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
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()