39    constructor(
string n_name, 
string n_desc, 
string n_url, *hash n_opts, 
string n_error, hash 
urlh) ;
 
   55    constructor(
string name, 
string description, 
string url, hash<auto> attributes = {}, hash<auto> options = {})
 
   75     object getImpl(
bool connect = True, *hash<auto> rtopts);
 
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< auto > attributes={}, hash< auto > 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.
 
string getType()
returns "invalid"
 
hash< UrlInfo > parseUrl(string url)
Parse the URL to a hash.
 
object getImpl(bool connect=True, *hash< auto > rtopts)
throws an exception because the object is invalid
 
The ConnectionProvider namespace.
Definition: AbstractConnection.qc.dox.h:28