main remote service class
More...
Inherits QorusSystemService.
|
static QorusSystemAPIHelper | get (string name) |
| DEPRECATED: Setup and return a new OMQ::QorusSystemAPIHelper object to be used in user source code. More...
|
|
static QorusSystemRestHelper | get_rest (string name) |
| DEPRECATED: Setup and return a new OMQ::QorusSystemRestHelper object to be used in user source code. More...
|
|
static list | get_remote_list () |
| DEPRECATED: Returns a list of non-local instances; loopback entries are filtered out.
|
|
static | reload () |
| DEPRECATED: Refresh cached remote instances. More...
|
|
static list | list () |
| DEPRECATED: Show available instances in a list.
|
|
static hash | get_config (*string name) |
| DEPRECATED: Returns a hash giving the configuration of the given connection; this is internal in order to prohibit login info from being sent in external calls. More...
|
|
static hash | info () |
| DEPRECATED: Return available instances as a hash keyed by name, where the value is the description of the connection. More...
|
|
static string | ping_local () |
| DEPRECATED: Returns an informational string about the local instance; no network traffic is made. More...
|
|
static hash | ping () |
| DEPRECATED: Test the remote connection(s). Optional argument 'name' can limit the ping to given remote instance. More...
|
|
main remote service class
◆ get()
static QorusSystemAPIHelper remote::get |
( |
string |
name | ) |
|
|
inlinestatic |
◆ get_config()
DEPRECATED: Returns a hash giving the configuration of the given connection; this is internal in order to prohibit login info from being sent in external calls.
- Note
- -
internal:
True
(this method can only be called internally)
◆ get_rest()
static QorusSystemRestHelper remote::get_rest |
( |
string |
name | ) |
|
|
inlinestatic |
◆ info()
static hash remote::info |
( |
| ) |
|
|
inlinestatic |
DEPRECATED: Return available instances as a hash keyed by name, where the value is the description of the connection.
- Returns
- a hash of available instances keyed by name, where the value is the description of the connection
◆ ping()
static hash remote::ping |
( |
| ) |
|
|
inlinestatic |
DEPRECATED: Test the remote connection(s). Optional argument 'name' can limit the ping to given remote instance.
- Returns
- a hash with (name : connection info) from the remote instance values
◆ ping_local()
static string remote::ping_local |
( |
| ) |
|
|
inlinestatic |
◆ reload()
static remote::reload |
( |
| ) |
|
|
inlinestatic |
DEPRECATED: Refresh cached remote instances.
It is necessary to call this method (or reset the service) when the configuration changes
- Exceptions
-
REMOTE-LOAD-ERROR | Missing config file or malformed syntax |
FILE-OPEN2-ERROR | error opening configuration file |
The documentation for this class was generated from the following file: