hash parseUrl(string url)
Parse the URL to a hash.
string name
connection name
Definition: AbstractConnection.qc.dox.h:36
hash< auto > urlh
broken down URL hash (as returned by Qore::parse_url())
Definition: AbstractConnection.qc.dox.h:54
abstract base class for connections
Definition: AbstractConnection.qc.dox.h:32
string error
Error message provided by constructor's attributes.error.
Definition: InvalidConnection.qc.dox.h:33
object getImpl(bool connect=True, *hash rtopts)
throws an exception because the object is invalid
this class is used to mark invalid connections so they can be loaded and reported as invalid ...
Definition: InvalidConnection.qc.dox.h:29
hash< auto > hash(object obj)
string url
connection URL (potentially with password info)
Definition: AbstractConnection.qc.dox.h:42
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.
the ConnectionProvider namespace. All classes used in the ConnectionProvider module should be inside ...
Definition: AbstractConnection.qc.dox.h:26
string getType()
returns "invalid"