 |
Qore ConnectionProvider Module Reference
1.4
|
62 *hash<string, hash<ConnectionOptionInfo>>
options;
83 static hash<string, hash<ConnectionSchemeInfo>>
cache = {
109 static hash<string, hash<ConnectionSchemeInfo>>
get();
128 static *hash<ConnectionSchemeInfo>
getScheme(
string scheme);
151 static *hash<ConnectionSchemeInfo>
getSchemeImpl(
string scheme,
bool throw_exception, *code scheme_loader);
the ConnectionProvider namespace. All classes used in the ConnectionProvider module should be inside ...
Definition: AbstractConnection.qc.dox.h:26
const SchemeMap
Map of known connection schemes to modules.
Definition: ConnectionSchemeCache.qc.dox.h:78
Class cls
The connection class.
Definition: ConnectionSchemeCache.qc.dox.h:59
static hash< string, hash< ConnectionSchemeInfo > > cache
Connection provider cache.
Definition: ConnectionSchemeCache.qc.dox.h:83
Connection provider information.
Definition: ConnectionSchemeCache.qc.dox.h:57
static hash< ConnectionSchemeInfo > getSchemeEx(string scheme)
Returns info for the given connection scheme or throws an exception if not present.
*softlist< hash< AllowedValueInfo > > allowed_values
List of allowed values (enum)
Definition: ConnectionSchemeCache.qc.dox.h:50
static hash< string, hash< ConnectionSchemeInfo > > get()
Returns the entire cache.
static *list< string > listSchemes()
Returns a list of all cached schemes.
auto default_value
Any default value.
Definition: ConnectionSchemeCache.qc.dox.h:53
static bool tryLoadModule(string mod, bool throw_exception)
Try to load the given module.
Connection provider type cache class.
Definition: ConnectionSchemeCache.qc.dox.h:74
Connection option information.
Definition: ConnectionSchemeCache.qc.dox.h:39
static Mutex lck()
Connection provider cache lock.
const ConnectionScheme
Connection entry info.
Definition: FtpConnection.qc.dox.h:37
const ConnectionScheme
Connection entry info.
Definition: FilesystemConnection.qc.dox.h:39
*string required_options
Required option string.
Definition: ConnectionSchemeCache.qc.dox.h:70
*hash< string, hash< ConnectionOptionInfo > > options
Connection options: name -> option info.
Definition: ConnectionSchemeCache.qc.dox.h:62
static bool registerScheme(string scheme, hash< ConnectionSchemeInfo > entry)
Register a new connection provider in the cache.
string desc
Description.
Definition: ConnectionSchemeCache.qc.dox.h:44
bool sensitive
Is the value sensitive? (password or other authentication info)
Definition: ConnectionSchemeCache.qc.dox.h:47
static int size()
Returns the number of types in the cache.
static bool empty()
Returns True if the cache is empty, False if not.
auto value
The value.
Definition: ConnectionSchemeCache.qc.dox.h:32
static *hash< ConnectionSchemeInfo > getSchemeImpl(string scheme, bool throw_exception, *code scheme_loader)
Returns info for the given connection scheme; either throws an exception if not present or returns NO...
const ConnectionScheme
Connection entry info.
Definition: HttpConnection.qc.dox.h:52
string desc
Description for the value.
Definition: ConnectionSchemeCache.qc.dox.h:35
string type
Option value type.
Definition: ConnectionSchemeCache.qc.dox.h:41
static *hash< ConnectionSchemeInfo > getScheme(string scheme)
Returns info for the given connection scheme or NOTHING if not present.
Allowed value hash.
Definition: ConnectionSchemeCache.qc.dox.h:30