Qore ConnectionProvider Module Reference  1.7
ConnectionProvider::ConnectionInfo hashdecl Reference

connection information hash More...

Public Attributes

bool children_can_support_apis = False
 if the data provider or any of its children support requests (APIs)
 
bool children_can_support_messages = False
 if the data provider or any of its children support messages
 
bool children_can_support_observers = False
 if the data provider or any of its children support events
 
bool children_can_support_records = False
 if the data provider or any of its children support records
 
bool debug_data
 a boolean value indicating whether the connection should be subject to data debugging More...
 
string desc
 the connection description
 
bool enabled
 a boolean value indicating if the connection should be enabled or not More...
 
bool has_provider = False
 if the connection supports the data provider API
 
*date last_check
 the date/time value of the last connection check (or NOTHING if not checked)
 
bool locked
 a boolean value indicating whether the connection is locked or not More...
 
bool loopback
 a boolean vaue indicating if the connection is a loopback connection
 
bool monitor
 a boolean vaue indicating if the connection should be monitored or not
 
string name
 the connection name
 
*hash opts
 the original options used to create the object
 
string status
 a string giving the connection's status
 
hash< auto > tags
 user-defined key-value pairs associated with the connection
 
string type
 the connection type
 
bool up = False
 a boolean vaue indicating the connection is known to be up (will be False if not checked)
 
*date updated
 the date/time value of the update (or NOTHING if not updated)
 
string url
 the URL for the connection including the password More...
 
hash url_hash
 a hash of URL information as returned by parse_url()
 

Detailed Description

connection information hash

As returned by AbstractConnection::getInfo()

Member Data Documentation

◆ debug_data

bool ConnectionProvider::ConnectionInfo::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

◆ enabled

bool ConnectionProvider::ConnectionInfo::enabled

a boolean value indicating if the connection should be enabled or not

This flag does not affect anything by default, it is for user re-implementations

◆ locked

bool ConnectionProvider::ConnectionInfo::locked

a boolean value indicating whether the connection is locked or not

This flag does not affect anything by default, it is for user re-implementations

◆ url

string ConnectionProvider::ConnectionInfo::url

the URL for the connection including the password

if any present and the with_password argument is True