64 *hash<string, hash<ConnectionOptionInfo>>
options;
82 "rests":
"RestClient",
84 "billwerkrest":
"BillwerkRestClient",
85 "billwerkrests":
"BillwerkRestClient",
87 "sewiorest":
"SewioRestClient",
88 "sewiorests":
"SewioRestClient",
90 "sfrests":
"SalesforceRestClient",
92 "sap4hanarests":
"Sap4HanaRestClient",
94 "awsrests":
"AwsRestClient",
96 "cdsrests":
"CdsRestClient",
98 "zeyosrest":
"ZeyosRestClient",
99 "zeyosrests":
"ZeyosRestClient",
101 "smtp":
"SmtpClient",
102 "smtps":
"SmtpClient",
103 "smtptls":
"SmtpClient",
104 "esmtp":
"SmtpClient",
105 "esmtps":
"SmtpClient",
106 "esmtptls":
"SmtpClient",
108 "pop3":
"Pop3Client",
109 "pop3s":
"Pop3Client",
111 "telnet":
"TelnetClient",
113 "ws":
"WebSocketClient",
114 "wss":
"WebSocketClient",
116 "sewiows":
"SewioWebSocketClient",
117 "sewiowss":
"SewioWebSocketClient",
119 "soap":
"SoapClient",
120 "soaps":
"SoapClient",
122 "sfsoap":
"SalesforceSoapClient",
123 "sfsoaps":
"SalesforceSoapClient",
125 "sftp":
"Ssh2Connections",
127 "snrests":
"ServiceNowRestClient",
129 "ssh":
"Ssh2Connections",
131 "jsonrpc":
"JsonRpcClient",
132 "jsonrpcs":
"JsonRpcClient",
134 "xmlrpc":
"XmlRpcClient",
135 "xmlrpcs":
"XmlRpcClient",
137 "yamlrpc":
"YamlRpcClient",
138 "yamlrpcs":
"YamlRpcClient",
143 static hash<string, hash<ConnectionSchemeInfo>>
cache = {
169 static hash<string, hash<ConnectionSchemeInfo>>
get();
188 static *hash<ConnectionSchemeInfo>
getScheme(
string scheme);
211 static *hash<ConnectionSchemeInfo>
getSchemeImpl(
string scheme,
bool throw_exception, *code scheme_loader);
Connection provider type cache class.
Definition: ConnectionSchemeCache.qc.dox.h:76
static *list< string > listSchemes()
Returns a list of all cached schemes.
static *hash< ConnectionSchemeInfo > getScheme(string scheme)
Returns info for the given connection scheme or NOTHING if not present.
static bool tryLoadModule(string mod, bool throw_exception)
Try to load the given module.
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...
static hash< ConnectionSchemeInfo > getSchemeEx(string scheme)
Returns info for the given connection scheme or throws an exception if not present.
const SchemeMap
Map of known connection schemes to modules.
Definition: ConnectionSchemeCache.qc.dox.h:80
static hash< string, hash< ConnectionSchemeInfo > > get()
Returns the entire cache.
static hash< string, hash< ConnectionSchemeInfo > > cache
Connection provider cache.
Definition: ConnectionSchemeCache.qc.dox.h:143
static bool registerScheme(string scheme, hash< ConnectionSchemeInfo > entry)
Register a new connection provider in the cache.
static int size()
Returns the number of types in the cache.
static bool empty()
Returns True if the cache is empty, False if not.
static Mutex lck()
Connection provider cache lock.
const ConnectionScheme
Connection entry info.
Definition: FilesystemConnection.qc.dox.h:40
const ConnectionScheme
Connection entry info.
Definition: FtpConnection.qc.dox.h:37
const ConnectionScheme
Connection entry info.
Definition: HttpConnection.qc.dox.h:57
The ConnectionProvider namespace.
Definition: AbstractConnection.qc.dox.h:28
Allowed value hash.
Definition: ConnectionSchemeCache.qc.dox.h:29
string desc
Description for the value.
Definition: ConnectionSchemeCache.qc.dox.h:34
auto value
The value.
Definition: ConnectionSchemeCache.qc.dox.h:31
Connection option information.
Definition: ConnectionSchemeCache.qc.dox.h:38
bool subst_env_vars
Do environment variable substitution on the value?
Definition: ConnectionSchemeCache.qc.dox.h:55
auto default_value
Any default value.
Definition: ConnectionSchemeCache.qc.dox.h:52
string type
Option value type.
Definition: ConnectionSchemeCache.qc.dox.h:40
string desc
Description.
Definition: ConnectionSchemeCache.qc.dox.h:43
*softlist< hash< AllowedValueInfo > > allowed_values
List of allowed values (enum)
Definition: ConnectionSchemeCache.qc.dox.h:49
bool sensitive
Is the value sensitive? (password or other authentication info)
Definition: ConnectionSchemeCache.qc.dox.h:46
Connection provider information.
Definition: ConnectionSchemeCache.qc.dox.h:59
*string required_options
Required option string.
Definition: ConnectionSchemeCache.qc.dox.h:72
*hash< string, hash< ConnectionOptionInfo > > options
Connection options: name -> option info.
Definition: ConnectionSchemeCache.qc.dox.h:64
Class cls
The connection class.
Definition: ConnectionSchemeCache.qc.dox.h:61