46 static hash<string, *hash<string, hash<DataProviderOptionInfo>>>
subtype_info;
64 constructor(
string name,
string description,
string url, hash<auto> attributes = {}, hash<auto> options = {}, *Logger logger) ;
175 FtpClient
getImpl(
bool connect = True, *hash<auto> 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 FTP connections; returns Qore::FtpClient objects
Definition FtpConnection.qc.dox.h:33
DataProvider::AbstractDataProvider getDataProvider(*hash< auto > constructor_options)
returns an FtpClientDataProvider object for this connection
setChildCapabilities()
Sets child data provider capabilities.
loadSubtypeInfo()
Loads subtype info from external modules.
bool hasDataProvider()
returns True, as the connection returns a data provider with the getDataProvider() method
*hash< auto > getRuntimeOptions()
returns runtime options
const DataProviderSubtypeMap
Data provider subtypes supported.
Definition FtpConnection.qc.dox.h:41
FtpClient getImpl(bool connect=True, *hash< auto > rtopts)
Returns an FtpClient object.
*hash< string, *hash< string, hash< DataProviderOptionInfo > > > getDataProviderSubtypesImpl()
Returns a hash of supported data provider subtypes.
string getType()
returns "ftp"
const ConnectionScheme
Connection entry info.
Definition FtpConnection.qc.dox.h:37
static Mutex subtype_lck()
Data provider subtype lock.
checkSubtypeInfo()
Verifies that subtype info has been loaded from external modules.
hash< ConnectionSchemeInfo > getConnectionSchemeInfoImpl()
Returns the ConnectionSchemeInfo hash for this object.
AbstractDataProvider getDataProviderImpl(string subtype, *hash< auto > constructor_options)
returns a data provider object for the connection and subtype passed as an argument
static hash< string, *hash< string, hash< DataProviderOptionInfo > > > subtype_info
Data provider subtype info.
Definition FtpConnection.qc.dox.h:46
constructor(string name, string description, string url, hash< auto > attributes={}, hash< auto > options={}, *Logger logger)
creates the FtpConnection object
constructor(hash< auto > config, *hash< auto > attr)
creates the FtpConnection object
The ConnectionProvider namespace.
Definition AbstractConnection.qc.dox.h:28