FtpClientGetFileDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace FtpClientDataProvider {
class FtpClientGetFileDataProvider : public AbstractDataProvider {
public:
FtpClient ftp;
const ProviderInfo = <DataProviderInfo>{
"name": "get-file",
"desc": "FTP get file data provider; gets a file in the given location",
"type": "FtpClientGetFileDataProvider",
"constructor_options": FtpClientDataProvider::ConstructorOptions,
"supports_request": True,
};
const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
AbstractDataProvider::DataProviderSummaryInfoKeys
});
const RequestType = new FtpClientGetFileRequestDataType();
const ResponseType = new FtpClientGetFileResponseDataType();
constructor(*hash<auto> options);
constructor(FtpClient ftp);
string getName();
protected:
auto doRequestImpl(auto req, *hash<auto> request_options);
public:
protected:
*AbstractDataProviderType getRequestTypeImpl();
public:
protected:
*AbstractDataProviderType getResponseTypeImpl();
public:
hash<DataProviderInfo> getStaticInfoImpl();
};
};
FtpClientDataProvider::FtpClientDataProvider::ConstructorOptions
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:42
FtpClientDataProvider::FtpClientGetFileDataProvider
The FTP client get file data provider class.
Definition: FtpClientGetFileDataProvider.qc.dox.h:28
FtpClientDataProvider::FtpClientGetFileDataProvider::getRequestTypeImpl
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FtpClientDataProvider::FtpClientGetFileDataProvider::ProviderInfo
const ProviderInfo
Provider info.
Definition: FtpClientGetFileDataProvider.qc.dox.h:35
FtpClientDataProvider::FtpClientGetFileDataProvider::ftp
FtpClient ftp
FTP connection.
Definition: FtpClientGetFileDataProvider.qc.dox.h:32
FtpClientDataProvider::FtpClientGetFileDataProvider::getName
string getName()
Returns the data provider name.
FtpClientDataProvider::FtpClientGetFileDataProvider::constructor
constructor(*hash< auto > options)
Gets the object from constructor options.
FtpClientDataProvider::FtpClientGetFileDataProvider::doRequestImpl
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
FtpClientDataProvider::FtpClientGetFileDataProvider::ResponseType
const ResponseType
Response type.
Definition: FtpClientGetFileDataProvider.qc.dox.h:52
FtpClientDataProvider::FtpClientGetFileDataProvider::getResponseTypeImpl
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
FtpClientDataProvider::FtpClientGetFileDataProvider::ProviderSummaryInfo
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientGetFileDataProvider.qc.dox.h:44
FtpClientDataProvider::FtpClientGetFileDataProvider::getStaticInfoImpl
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
FtpClientDataProvider::FtpClientGetFileDataProvider::RequestType
const RequestType
Request type.
Definition: FtpClientGetFileDataProvider.qc.dox.h:49
FtpClientDataProvider::FtpClientGetFileDataProvider::constructor
constructor(FtpClient ftp)
Gets the object from an FTP connection.
FtpClientDataProvider::FtpClientGetFileRequestDataType
Data type for FTP client get file request calls.
Definition: FtpClientGetFileRequestDataType.qc.dox.h:27
FtpClientDataProvider::FtpClientGetFileResponseDataType
Data type for FTP client get file request calls.
Definition: FtpClientGetFileResponseDataType.qc.dox.h:27
True
const True
FtpClientDataProvider
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26