public class ClientInvocation extends Object
| Constructor and Description |
|---|
ClientInvocation(IElementIdentifier target,
String function,
Object... arguments)
Create a client invocation request.
|
ClientInvocation(String moduleName,
String function,
Object... arguments)
Create a client invocation request.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Returns the key associated with the client invocation request.
|
Map<String,Object> |
toMap()
Packages the client invocation request as a map for serialization and transport.
|
public ClientInvocation(IElementIdentifier target, String function, Object... arguments)
target - The identifier of the widget that implements the function being invoked. If
null is specified, the function name must specify a fully qualified path to a
free-standing function.function - The name of the function to be invoked. This may be one of the following
formats:
| [key]^[function name] | - The key and the function name are explicitly declared. |
| ^[function name] | - The key is implied to be the same as the function name. |
| [function name] | - The key will default to a unique value. |
arguments - Optional arguments to be passed to the function.public ClientInvocation(String moduleName, String function, Object... arguments)
moduleName - The name of the module whose exported function is to be invoked. If null is
specified, the function name must specify a fully qualified path to a
free-standing function.function - The name of the exported function to be invoked. This may be one of the
following formats:
| [key]^[function name] | - The key and the function name are explicitly declared. |
| ^[function name] | - The key is implied to be the same as the function name. |
| [function name] | - The key will default to a unique value. |
arguments - Optional arguments to be passed to the function.public String getKey()
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.