|
fwRPC
|
Functions | |
| void | fwRPC_functionManager_register (dyn_mixed funcObject) |
| void | fwRPC_functionManager_load () |
| bool | fwRPC_functionManager_isRegistered (string functionName) |
| void | fwRPC_functionManager_clearRegistry () |
| void | fwRPC_functionManager_getFunctionObject (string functionName, dyn_mixed &functionObject) |
| dyn_string | fwRPC_functionManager_getFunctionNames () |
Variables | |
| private global mapping | g_fwRPC_functionManager_functions |
This library contains the functionality responsible for managing RPC functions in the core server module.
Part of the server-side RPC library.
| void fwRPC_functionManager_clearRegistry | ( | ) |
Unregister all functions
| nothing |
| dyn_string fwRPC_functionManager_getFunctionNames | ( | ) |
Get a list of all registered functions.
| nothing |
| void fwRPC_functionManager_getFunctionObject | ( | string | functionName, |
| dyn_mixed & | functionObject | ||
| ) |
Get a registered function. If the function is not registered it will check the DB, and register it if available.
| functionName | (IN, string) name of the function |
| functionObject | (OUT, dyn_mixed) function |
| if | the function is not registered |
| bool fwRPC_functionManager_isRegistered | ( | string | functionName | ) |
Check if a given object is registered.
| functionName | (IN, string) function name to check for |
| nothing |
| void fwRPC_functionManager_load | ( | ) |
Clears the current function registry and loads functions registered in the DB.
| nothing |
| void fwRPC_functionManager_register | ( | dyn_mixed | funcObject | ) |
Register a function.
| funcObject | (IN, dyn_mixed) Function object to register |
| if | the given object is not a valid function object if the function is already registered |
| private global mapping g_fwRPC_functionManager_functions |
Mapping containing all registered functions: key = function name value = function model (see fwRPC_functionModel.ctl)