49 static hash<string, *hash<string, hash<DataProviderOptionInfo>>>
subtype_info;
67 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {}, *Logger logger)
170 Dir
getImpl(
bool connect = True, *hash rtopts);
string url
Connection URL (potentially with password info)
Definition AbstractConnection.qc.dox.h:85
string name
Connection name.
Definition AbstractConnection.qc.dox.h:73
abstract base class for connections
Definition AbstractConnectionWithInfo.qc.dox.h:32
class for filesystem connections; returns an object of type Qore::Dir
Definition FilesystemConnection.qc.dox.h:36
static hash< string, *hash< string, hash< DataProviderOptionInfo > > > subtype_info
Data provider subtype info.
Definition FilesystemConnection.qc.dox.h:49
bool hasDataProvider()
returns True
checkSubtypeInfo()
Verifies that subtype info has been loaded from external modules.
AbstractDataProvider getDataProviderImpl(string subtype, *hash< auto > constructor_options)
returns a data provider object for connection subtype passed as an argument
*hash< string, hash< DataProviderOptionInfo > > getDataProviderConstructorOptionsImpl()
Returns a hash of data provider constructor option info, if applicable.
*hash< string, *hash< string, hash< DataProviderOptionInfo > > > getDataProviderSubtypesImpl()
Returns a hash of supported data provider subtypes.
setupFsOpts()
Common constructor initialization.
AbstractDataProvider getDataProvider(*hash< auto > constructor_options)
Returns a data provider object for this connection.
static Mutex subtype_lck()
Data provider subtype lock.
const ConnectionScheme
Connection entry info.
Definition FilesystemConnection.qc.dox.h:40
constructor(hash< auto > config, *hash< auto > attr)
creates the FilesystemConnection object
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={}, *Logger logger)
creates the FilesystemConnection object
string getType()
returns "file"
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
Dir getImpl(bool connect=True, *hash rtopts)
returns a Qore::Dir object
const DataProviderSubtypeMap
Data provider subtypes supported.
Definition FilesystemConnection.qc.dox.h:44
loadSubtypeInfo()
Loads subtype info from external modules.
The ConnectionProvider namespace.
Definition AbstractConnection.qc.dox.h:28