Qore FtpClientDataProvider Module Reference 2.0
Loading...
Searching...
No Matches
FtpClientStatDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FtpClientDataProvider {
28class FtpClientStatDataProvider : public AbstractDataProvider {
29
30public:
32 FtpClient ftp;
33
35 const ProviderInfo = ...;
36
37
40
41
44
47
49 constructor(*hash<auto> options);
50
51
53 constructor(FtpClient ftp);
54
55
57 string getName();
58
59
61 static hash<auto> doStat(FtpClient ftp, string path, *bool assume_known);
62
64 static date getModifiedTime(FtpClient ftp, string path);
65
66 static bool checkDir(FtpClient ftp, string path);
67
69
76protected:
77 auto doRequestImpl(auto req, *hash<auto> request_options);
78public:
79
80
82
84protected:
85 *AbstractDataProviderType getRequestTypeImpl();
86public:
87
88
90
92protected:
93 *AbstractDataProviderType getResponseTypeImpl();
94public:
95
96
98 hash<DataProviderInfo> getStaticInfoImpl();
99
100};
101};
The FTP client stat data provider class.
Definition FtpClientStatDataProvider.qc.dox.h:28
constructor(*hash< auto > options)
Creates the object from constructor options.
string getName()
Returns the data provider name.
const ResponseType
Response type.
Definition FtpClientStatDataProvider.qc.dox.h:46
constructor(FtpClient ftp)
Creates the object from an FTP connection.
const ProviderInfo
Provider info.
Definition FtpClientStatDataProvider.qc.dox.h:35
const ProviderSummaryInfo
Provider summary info.
Definition FtpClientStatDataProvider.qc.dox.h:39
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.
FtpClient ftp
FTP connection.
Definition FtpClientStatDataProvider.qc.dox.h:32
static date getModifiedTime(FtpClient ftp, string path)
Returns the modified time for a remote file, if possible.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const RequestType
Request type.
Definition FtpClientStatDataProvider.qc.dox.h:43
static hash< auto > doStat(FtpClient ftp, string path, *bool assume_known)
Performs a "stat"-like action on a remote file.
Data type for FTP client stat response calls.
Definition FtpClientStatResponseDataType.qc.dox.h:27
Qore FtpClientDataProvider module definition.
Definition FtpClientCreateFileDataProvider.qc.dox.h:26
const FtpClientPathDataType
Constant for FTP client stat responses.
Definition FtpClientPathDataType.qc.dox.h:43