218 *hash<ExceptionInfo>
ex;
300 *
hash priv_try_get_connections(
string mod);
*hash< string, AbstractConnection > get_connections(*bool verbose)
returns all known connections as a hash keyed by connection identifier; values are AbstractConnection...
*hash opts
the options set on the connection
Definition: ConnectionProvider.qm.dox.h:205
information that can be used to dynamically construct a connection object
Definition: ConnectionProvider.qm.dox.h:142
*date last_check
the date/time value of the last connection check (or NOTHING if not checked)
Definition: ConnectionProvider.qm.dox.h:183
string name
the connection name
Definition: ConnectionProvider.qm.dox.h:181
string class_name
the name of the constructor's class
Definition: ConnectionProvider.qm.dox.h:147
string status
a string giving the connection's status
Definition: ConnectionProvider.qm.dox.h:187
bool locked
a boolean value indicating whether the connection is locked or not. This flag does not affect anythin...
Definition: ConnectionProvider.qm.dox.h:194
string info
a string giving the result of the ping ("OK" or an error message)
Definition: ConnectionProvider.qm.dox.h:216
*string pre_processing
code to execute before construction to preprocess the constructor arguments
Definition: ConnectionProvider.qm.dox.h:176
string url
the full URL (including any username & password)
Definition: ConnectionProvider.qm.dox.h:204
AbstractConnection get_connection(string conn)
returns an AbstractConnection object if the identifier is known to a registered connection provider ...
*date updated
the date/time value of the update (or NOTHING if not updated)
Definition: ConnectionProvider.qm.dox.h:190
bool up
a boolean vaue indicating the connection is known to be up (will be False if not checked) ...
Definition: ConnectionProvider.qm.dox.h:189
*hash< ExceptionInfo > ex
if an exception occured, all exception info will be returned here
Definition: ConnectionProvider.qm.dox.h:218
abstract base class for connections
Definition: AbstractConnection.qc.dox.h:32
*softlist< auto > args
the constructor arguments
Definition: ConnectionProvider.qm.dox.h:150
ping response info as returned by AbstractConnection::ping()
Definition: ConnectionProvider.qm.dox.h:209
string name
the name of the connection
Definition: ConnectionProvider.qm.dox.h:202
*string post_processing
code to execute after construction
Definition: ConnectionProvider.qm.dox.h:163
string type
the connection type
Definition: ConnectionProvider.qm.dox.h:188
string url
a safe version of the URL (without passwords)
Definition: ConnectionProvider.qm.dox.h:213
bool monitor
a boolean vaue indicating if the connection should be monitored or not
Definition: ConnectionProvider.qm.dox.h:185
*hash opts
the options set on the connection
Definition: ConnectionProvider.qm.dox.h:212
config informaton as returned by AbstractConnection::getConfigHash()
Definition: ConnectionProvider.qm.dox.h:201
bool debug_data
a boolean value indicating whether the connection should be subject to data debugging. This flag does not affect anything by default, it is for user re-implementations
Definition: ConnectionProvider.qm.dox.h:195
hash url_hash
a hash of URL information as returned by parse_url()
Definition: ConnectionProvider.qm.dox.h:192
bool loopback
a boolean vaue indicating if the connection is a loopback connection
Definition: ConnectionProvider.qm.dox.h:184
string desc
the description
Definition: ConnectionProvider.qm.dox.h:203
date time
a relative date/time value giving the elapsed time of the ping operation
Definition: ConnectionProvider.qm.dox.h:215
*hash opts
the original options used to create the object
Definition: ConnectionProvider.qm.dox.h:186
string url
the URL for the connection including the password (if any present and the with_password argument is T...
Definition: ConnectionProvider.qm.dox.h:191
string desc
the description
Definition: ConnectionProvider.qm.dox.h:211
hash< auto > hash(object obj)
bool enabled
a boolean value indicating if the connection should be enabled or not. This flag does not affect anyt...
Definition: ConnectionProvider.qm.dox.h:193
hash< auto > tags
user-defined key-value pairs associated with the connection
Definition: ConnectionProvider.qm.dox.h:196
string name
the name of the connection
Definition: ConnectionProvider.qm.dox.h:210
Definition: ConnectionProvider.qm.dox.h:299
string get_connection_url(string str)
returns a URL string for the given identifier if the identifier is known to a registered connection p...
connection information hash as returned by AbstractConnection::getInfo()
Definition: ConnectionProvider.qm.dox.h:180
bool ok
a boolean value giving the result of the ping
Definition: ConnectionProvider.qm.dox.h:214
*hash< string, hash< ConnectionInfo > > get_connection_hash(*bool verbose)
returns a hash of connection information keyed by connection identifier; values are ConnectionInfo ha...
*hash ping_info
an optional free-form hash giving additional info regarding ping operation or the remote system ...
Definition: ConnectionProvider.qm.dox.h:217
string desc
the connection description
Definition: ConnectionProvider.qm.dox.h:182
*string module
any module required to be loaded for the constructor call
Definition: ConnectionProvider.qm.dox.h:144
the ConnectionProvider namespace. All classes used in the ConnectionProvider module should be inside ...
Definition: AbstractConnection.qc.dox.h:26
bool has_provider
if the connection supports the data provider API
Definition: ConnectionProvider.qm.dox.h:197