abstract base class for connections
Definition: AbstractConnection.qc.dox.h:34
string url
connection URL (potentially with password info)
Definition: AbstractConnection.qc.dox.h:44
string name
connection name
Definition: AbstractConnection.qc.dox.h:38
hash< auto > urlh
broken down URL hash (as returned by Qore::parse_url())
Definition: AbstractConnection.qc.dox.h:56
this class is used to mark invalid connections so they can be loaded and reported as invalid
Definition: InvalidConnection.qc.dox.h:29
constructor(string name, string description, string url, hash attributes={}, hash options={})
creates the invalid connection object
string error
Error message provided by constructor's attributes.error.
Definition: InvalidConnection.qc.dox.h:33
deprecated constructor(string n_name, string n_desc, string n_url, *hash n_opts, string n_error, hash urlh)
DEPRECATED: creates the invalid connection object.
hash parseUrl(string url)
Parse the URL to a hash.
string getType()
returns "invalid"
object getImpl(bool connect=True, *hash rtopts)
throws an exception because the object is invalid
hash< auto > hash(object obj)
The ConnectionProvider namespace.
Definition: AbstractConnection.qc.dox.h:28