545 *hash<ExceptionInfo>
ex;
627*hash priv_try_get_connections(
string mod);
Abstract base class for connections.
Definition AbstractConnection.qc.dox.h:69
The ConnectionProvider namespace.
Definition AbstractConnection.qc.dox.h:28
string get_connection_url(string str)
returns a URL string for the given identifier if the identifier is known to a registered connection p...
*hash< string, AbstractConnection > get_connections(*bool verbose)
returns all known connections as a hash keyed by connection identifier; values are AbstractConnection...
AbstractConnection get_connection(string conn)
returns an AbstractConnection object if the identifier is known to a registered connection provider
*hash< string, hash< ConnectionInfo > > get_connection_hash(*bool verbose)
returns a hash of connection information keyed by connection identifier; values are ConnectionInfo ha...
config informaton
Definition ConnectionProvider.qm.dox.h:506
*hash opts
the options set on the connection
Definition ConnectionProvider.qm.dox.h:510
string name
the name of the connection
Definition ConnectionProvider.qm.dox.h:507
string desc
the description
Definition ConnectionProvider.qm.dox.h:508
string url
the full URL (including any username & password)
Definition ConnectionProvider.qm.dox.h:509
information that can be used to dynamically construct a connection object
Definition ConnectionProvider.qm.dox.h:244
*string string class_name
any module required to be loaded for the constructor call
Definition ConnectionProvider.qm.dox.h:249
*string pre_processing
code to execute before construction to preprocess the constructor arguments
Definition ConnectionProvider.qm.dox.h:278
*string post_processing
code to execute after construction
Definition ConnectionProvider.qm.dox.h:265
*softlist< auto > args
the constructor arguments
Definition ConnectionProvider.qm.dox.h:252
Connection information hash containing only serializable data.
Definition ConnectionProvider.qm.dox.h:396
*string app
Any application name associated with the connection.
Definition ConnectionProvider.qm.dox.h:477
bool supports_customization
Indicates if the connection supports customization or not.
Definition ConnectionProvider.qm.dox.h:452
string url
the URL for the connection including the password
Definition ConnectionProvider.qm.dox.h:436
string status
a string giving the connection's status
Definition ConnectionProvider.qm.dox.h:422
string short_desc
the connection short description in plain text
Definition ConnectionProvider.qm.dox.h:404
bool locked
a boolean value indicating whether the connection is locked or not
Definition ConnectionProvider.qm.dox.h:449
string type
the connection type
Definition ConnectionProvider.qm.dox.h:425
bool children_can_support_apis
if the data provider or any of its children support requests (APIs)
Definition ConnectionProvider.qm.dox.h:488
*date last_check
the date/time value of the last connection check (or NOTHING if not checked)
Definition ConnectionProvider.qm.dox.h:410
bool up
a boolean vaue indicating the connection is known to be up (will be False if not checked)
Definition ConnectionProvider.qm.dox.h:428
bool children_can_support_records
if the data provider or any of its children support records
Definition ConnectionProvider.qm.dox.h:491
*date updated
the date/time value of the update (or NOTHING if not updated)
Definition ConnectionProvider.qm.dox.h:431
bool children_can_support_observers
if the data provider or any of its children support events
Definition ConnectionProvider.qm.dox.h:494
bool debug_data
a boolean value indicating whether the connection should be subject to data debugging
Definition ConnectionProvider.qm.dox.h:465
string name
the connection name
Definition ConnectionProvider.qm.dox.h:398
*hash opts
the original options used to create the object
Definition ConnectionProvider.qm.dox.h:419
string desc
the connection description
Definition ConnectionProvider.qm.dox.h:407
*hash< string, *hash< string, hash< auto > > > dataprovider_subtypes
Data provider subtype information.
Definition ConnectionProvider.qm.dox.h:474
*hash< string, bool > features
connection-defined feature hash
Definition ConnectionProvider.qm.dox.h:471
bool monitor
a boolean vaue indicating if the connection should be monitored or not
Definition ConnectionProvider.qm.dox.h:416
hash url_hash
a hash of URL information as returned by parse_url()
Definition ConnectionProvider.qm.dox.h:439
bool children_can_support_transactions
if the data provider or any of its children support transaction management
Definition ConnectionProvider.qm.dox.h:500
bool has_provider
if the connection supports the data provider API
Definition ConnectionProvider.qm.dox.h:485
bool loopback
a boolean vaue indicating if the connection is a loopback connection
Definition ConnectionProvider.qm.dox.h:413
bool enabled
a boolean value indicating if the connection should be enabled or not
Definition ConnectionProvider.qm.dox.h:444
*date customization_timestamp
The timestamp of the last customization for the connection.
Definition ConnectionProvider.qm.dox.h:460
bool children_can_support_messages
if the data provider or any of its children support messages
Definition ConnectionProvider.qm.dox.h:497
hash< auto > tags
user-defined key-value pairs associated with the connection
Definition ConnectionProvider.qm.dox.h:468
string customization_status
The current customization status for the connection.
Definition ConnectionProvider.qm.dox.h:457
string display_name
the display name
Definition ConnectionProvider.qm.dox.h:401
bool needs_auth
True if the connection requires OAuth2 authorization before it can be used
Definition ConnectionProvider.qm.dox.h:482
Connection information hash.
Definition ConnectionProvider.qm.dox.h:284
hash< auto > tags
user-defined key-value pairs associated with the connection
Definition ConnectionProvider.qm.dox.h:356
bool children_can_support_records
if the data provider or any of its children support records
Definition ConnectionProvider.qm.dox.h:379
bool loopback
a boolean vaue indicating if the connection is a loopback connection
Definition ConnectionProvider.qm.dox.h:301
bool has_provider
if the connection supports the data provider API
Definition ConnectionProvider.qm.dox.h:373
*date last_check
the date/time value of the last connection check (or NOTHING if not checked)
Definition ConnectionProvider.qm.dox.h:298
string customization_status
The current customization status for the connection.
Definition ConnectionProvider.qm.dox.h:345
*hash opts
the original options used to create the object
Definition ConnectionProvider.qm.dox.h:307
string short_desc
the connection short description in plain text
Definition ConnectionProvider.qm.dox.h:292
bool children_can_support_apis
if the data provider or any of its children support requests (APIs)
Definition ConnectionProvider.qm.dox.h:376
bool monitor
a boolean vaue indicating if the connection should be monitored or not
Definition ConnectionProvider.qm.dox.h:304
bool up
a boolean vaue indicating the connection is known to be up (will be False if not checked)
Definition ConnectionProvider.qm.dox.h:316
bool supports_customization
Indicates if the connection supports customization or not.
Definition ConnectionProvider.qm.dox.h:340
bool children_can_support_messages
if the data provider or any of its children support messages
Definition ConnectionProvider.qm.dox.h:385
bool locked
a boolean value indicating whether the connection is locked or not
Definition ConnectionProvider.qm.dox.h:337
*string app
Any application name associated with the connection.
Definition ConnectionProvider.qm.dox.h:365
*hash< string, bool > features
connection-defined feature hash
Definition ConnectionProvider.qm.dox.h:359
string name
the connection name
Definition ConnectionProvider.qm.dox.h:286
bool children_can_support_transactions
if the data provider or any of its children support transaction management
Definition ConnectionProvider.qm.dox.h:388
string type
the connection type
Definition ConnectionProvider.qm.dox.h:313
bool needs_auth
True if the connection requires OAuth2 authorization before it can be used
Definition ConnectionProvider.qm.dox.h:370
*date updated
the date/time value of the update (or NOTHING if not updated)
Definition ConnectionProvider.qm.dox.h:319
bool enabled
a boolean value indicating if the connection should be enabled or not
Definition ConnectionProvider.qm.dox.h:332
*hash< string, *hash< string, hash< DataProviderOptionInfo > > > dataprovider_subtypes
Data provider subtype information.
Definition ConnectionProvider.qm.dox.h:362
bool debug_data
a boolean value indicating whether the connection should be subject to data debugging
Definition ConnectionProvider.qm.dox.h:353
bool children_can_support_observers
if the data provider or any of its children support events
Definition ConnectionProvider.qm.dox.h:382
string display_name
the display name
Definition ConnectionProvider.qm.dox.h:289
string status
a string giving the connection's status
Definition ConnectionProvider.qm.dox.h:310
*date customization_timestamp
The timestamp of the last customization for the connection.
Definition ConnectionProvider.qm.dox.h:348
string desc
the connection description in markdown
Definition ConnectionProvider.qm.dox.h:295
string url
the URL for the connection including the password
Definition ConnectionProvider.qm.dox.h:324
hash url_hash
a hash of URL information as returned by parse_url()
Definition ConnectionProvider.qm.dox.h:327
ping response info
Definition ConnectionProvider.qm.dox.h:516
date time
a relative date/time value giving the elapsed time of the ping operation
Definition ConnectionProvider.qm.dox.h:533
string desc
the description
Definition ConnectionProvider.qm.dox.h:521
*hash ping_info
an optional free-form hash giving additional info regarding ping operation or the remote system
Definition ConnectionProvider.qm.dox.h:542
bool ok
a boolean value giving the result of the ping
Definition ConnectionProvider.qm.dox.h:530
*hash< ExceptionInfo > ex
if an exception occured, all exception info will be returned here
Definition ConnectionProvider.qm.dox.h:545
*hash opts
the options set on the connection
Definition ConnectionProvider.qm.dox.h:524
string url
a safe version of the URL (without passwords)
Definition ConnectionProvider.qm.dox.h:527
string name
the name of the connection
Definition ConnectionProvider.qm.dox.h:518
int ping_flags
Ping flags used for the ping.
Definition ConnectionProvider.qm.dox.h:539
string info
a string giving the result of the ping ("OK" or an error message)
Definition ConnectionProvider.qm.dox.h:536