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