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 
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 };
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:42
The FTP client delete data provider class.
Definition: FtpClientDeleteDataProvider.qc.dox.h:28
FtpClient ftp
FTP connection.
Definition: FtpClientDeleteDataProvider.qc.dox.h:32
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const RequestType
Request type.
Definition: FtpClientDeleteDataProvider.qc.dox.h:50
const ProviderInfo
Provider info.
Definition: FtpClientDeleteDataProvider.qc.dox.h:35
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientDeleteDataProvider.qc.dox.h:45
constructor(*hash< auto > options)
Creates the object from constructor options.
constructor(FtpClient ftp)
Creates the object from an FTP connection.
string getName()
Returns the data provider name.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
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