Qore FtpClientDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FtpClientGetFileDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FtpClientDataProvider {
28class FtpClientGetFileDataProvider : public AbstractDataProvider {
29
30public:
32 FtpClient ftp;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "get-file",
37 "desc": "FTP get file data provider; gets a file in the given location",
38 "type": "FtpClientGetFileDataProvider",
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
72protected:
73 auto doRequestImpl(auto req, *hash<auto> request_options);
74public:
75
76
78
80protected:
81 *AbstractDataProviderType getRequestTypeImpl();
82public:
83
84
86
88protected:
89 *AbstractDataProviderType getResponseTypeImpl();
90public:
91
92
94 hash<DataProviderInfo> getStaticInfoImpl();
95
96};
97};
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:42
The FTP client get file data provider class.
Definition: FtpClientGetFileDataProvider.qc.dox.h:28
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ProviderInfo
Provider info.
Definition: FtpClientGetFileDataProvider.qc.dox.h:35
FtpClient ftp
FTP connection.
Definition: FtpClientGetFileDataProvider.qc.dox.h:32
string getName()
Returns the data provider name.
constructor(*hash< auto > options)
Gets the object from constructor options.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ResponseType
Response type.
Definition: FtpClientGetFileDataProvider.qc.dox.h:52
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientGetFileDataProvider.qc.dox.h:44
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
const RequestType
Request type.
Definition: FtpClientGetFileDataProvider.qc.dox.h:49
constructor(FtpClient ftp)
Gets the object from an FTP connection.
Data type for FTP client get file request calls.
Definition: FtpClientGetFileRequestDataType.qc.dox.h:27
Data type for FTP client get file request calls.
Definition: FtpClientGetFileResponseDataType.qc.dox.h:27
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26