| Qore FtpClientDataProvider Module Reference 1.0

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