$darkmode
Qore FtpClientDataProvider Module Reference 1.0
FtpClientMkdirDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FtpClientDataProvider {
28class FtpClientMkdirDataProvider : public AbstractDataProvider {
29
30public:
32 FtpClient ftp;
33
35 const ProviderInfo = <DataProviderInfo>{
36 "name": "mkdir",
37 "desc": "FTP mkdir data provider; creates a directory on the server given the path "
38 "as an argument",
39 "type": "FtpClientMkdirDataProvider",
40 "constructor_options": FtpClientDataProvider::ConstructorOptions,
41 "supports_request": True,
42 };
43
45 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
46 AbstractDataProvider::DataProviderSummaryInfoKeys
47 });
48
51
53 constructor(*hash<auto> options);
54
55
57 constructor(FtpClient ftp);
58
59
61 string getName();
62
63
65
70protected:
71 auto doRequestImpl(auto req, *hash<auto> request_options);
72public:
73
74
76
78protected:
79 *AbstractDataProviderType getRequestTypeImpl();
80public:
81
82
84
86protected:
87 *AbstractDataProviderType getResponseTypeImpl();
88public:
89
90
92 hash<DataProviderInfo> getStaticInfoImpl();
93
94};
95};
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:42
The FTP client mkdir data provider class.
Definition: FtpClientMkdirDataProvider.qc.dox.h:28
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientMkdirDataProvider.qc.dox.h:45
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
const ProviderInfo
Provider info.
Definition: FtpClientMkdirDataProvider.qc.dox.h:35
constructor(*hash< auto > options)
Creates the object from constructor options.
FtpClient ftp
FTP connection.
Definition: FtpClientMkdirDataProvider.qc.dox.h:32
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const RequestType
Request type.
Definition: FtpClientMkdirDataProvider.qc.dox.h:50
string getName()
Returns the data provider name.
constructor(FtpClient ftp)
Creates the object from an FTP connection.
Data type for FTP client stat request calls.
Definition: FtpClientPathDataType.qc.dox.h:27
const True
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26