Qore FtpClientDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FtpClientListDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FtpClientDataProvider {
28class FtpClientListDataProvider : public AbstractDataProvider {
29
30public:
32 FtpClient ftp;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "list",
37 "desc": "FTP list data provider; returns file information about the path given as an argument",
38 "type": "FtpClientListDataProvider",
39 "constructor_options": FtpClientDataProvider::ConstructorOptions,
40 "supports_request": True,
41 };
42
44 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
45 AbstractDataProvider::DataProviderSummaryInfoKeys
46 });
47
50
53
55 constructor(*hash<auto> options);
56
57
59 constructor(FtpClient ftp);
60
61
63 string getName();
64
65
67
74protected:
75 auto doRequestImpl(auto req, *hash<auto> request_options);
76public:
77
78
80
82protected:
83 *AbstractDataProviderType getRequestTypeImpl();
84public:
85
86
88
90protected:
91 *AbstractDataProviderType getResponseTypeImpl();
92public:
93
94
96 hash<DataProviderInfo> getStaticInfoImpl();
97
98};
99};
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:42
The FTP client list data provider class.
Definition: FtpClientListDataProvider.qc.dox.h:28
constructor(*hash< auto > options)
Creates the object from constructor options.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientListDataProvider.qc.dox.h:44
const RequestType
Request type.
Definition: FtpClientListDataProvider.qc.dox.h:49
string getName()
Returns the data provider name.
FtpClient ftp
FTP connection.
Definition: FtpClientListDataProvider.qc.dox.h:32
const ResponseType
Response type.
Definition: FtpClientListDataProvider.qc.dox.h:52
constructor(FtpClient ftp)
Creates the object from an FTP connection.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderInfo
Provider info.
Definition: FtpClientListDataProvider.qc.dox.h:35
Data type for FTP client stat request calls.
Definition: FtpClientPathDataType.qc.dox.h:27
const ResponseType
Response type.
Definition: FtpClientStatDataProvider.qc.dox.h:52
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26