Qore FtpClientDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
FtpClientDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FtpClientDataProvider {
28const AppName = "FTP";
29
31class FtpClientDataProvider : public AbstractDataProvider {
32
33public:
35 const ProviderInfo = ...;
36
37
39 const ConstructorOptions = ...;
40
41
42 FtpClient ftp;
43
44protected:
45 const ChildMap = ...;
46
47
48public:
49
51 constructor(*hash<auto> options);
52
53
55 constructor(FtpClient ftp);
56
57
59 string getName();
60
61
63 *string getDesc();
64
65
67 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
68
69
71 static FtpClient getFtpClientConnection(hash<auto> options);
72
74 static string getPath(FtpClient ftp, string path1);
75
77
79protected:
81public:
82
83
85
89protected:
90 *AbstractDataProvider getChildProviderImpl(string name);
91public:
92
93
95protected:
96 hash<DataProviderInfo> getStaticInfoImpl();
97public:
98
99};
100};
string getName()
Returns the data provider name.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
static FtpClient getFtpClientConnection(hash< auto > options)
Returns an FTP connection from constructor options.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(FtpClient ftp)
Creates the object from an FTP connection.
*string getDesc()
Returns the data provider description.
constructor(*hash< auto > options)
Creates the object from constructor options.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
static string getPath(FtpClient ftp, string path1)
Returns the path based on the FtpClient's base path.
Qore FtpClientDataProvider module definition.
Definition FtpClientCreateFileDataProvider.qc.dox.h:26
const AppName
Generic FTP server app name.
Definition FtpClientDataProvider.qc.dox.h:28