#include <FTP_Response.h>
|
enum | StatusType {
NOSTATE = -1
, NORESPONSE = 0
, PRELIM_OK = 1
, COMPLETED_OK = 2
,
INTERMEDIATE_OK = 3
, TRANSIENT_FAIL = 4
, PERMANENT_FAIL = 5
} |
| response types More...
|
|
enum | StatusSubtype {
NOSUBTYPE = -1
, SYNTAX = 0
, INFORMATION = 1
, CONNECTION = 2
,
AUTHENTICATION = 3
, SUBTYPE_NONE = 4
, FILESYSTEM = 5
} |
| response subtypes More...
|
|
|
int | read_line (std::istream &is, std::ostream &os) |
|
|
static const int | eof_ = std::char_traits<char>::eof () |
|
◆ StatusSubtype
response subtypes
Enumerator |
---|
NOSUBTYPE | |
SYNTAX | |
INFORMATION | |
CONNECTION | |
AUTHENTICATION | |
SUBTYPE_NONE | |
FILESYSTEM | |
◆ StatusType
response types
Enumerator |
---|
NOSTATE | |
NORESPONSE | |
PRELIM_OK | |
COMPLETED_OK | |
INTERMEDIATE_OK | |
TRANSIENT_FAIL | |
PERMANENT_FAIL | |
◆ Response()
ACE::FTP::Response::Response |
( |
| ) |
|
◆ ~Response()
ACE::FTP::Response::~Response |
( |
| ) |
|
|
virtual |
◆ is_completed_ok()
bool ACE::FTP::Response::is_completed_ok |
( |
| ) |
const |
|
inline |
returns true if the current response type is COMPLETED_OK
◆ is_intermediate_ok()
bool ACE::FTP::Response::is_intermediate_ok |
( |
| ) |
const |
|
inline |
returns true if the current response type is INTERMEDIATE_OK
◆ is_permanent_fail()
bool ACE::FTP::Response::is_permanent_fail |
( |
| ) |
const |
|
inline |
returns true if the current response type is PERMANENT_FAIL
◆ is_preliminary_ok()
bool ACE::FTP::Response::is_preliminary_ok |
( |
| ) |
const |
|
inline |
returns true if the current response type is PRELIM_OK
◆ is_transient_fail()
bool ACE::FTP::Response::is_transient_fail |
( |
| ) |
const |
|
inline |
returns true if the current response type is TRANSIENT_FAIL
◆ operator()()
Response & ACE::FTP::Response::operator() |
( |
int | status | ) |
|
|
inline |
resets the FTP response and sets the response status
◆ operator<<()
◆ read()
bool ACE::FTP::Response::read |
( |
std::istream & | str | ) |
|
Reads the FTP response from the given stream.
◆ read_line()
int ACE::FTP::Response::read_line |
( |
std::istream & | is, |
|
|
std::ostream & | os ) |
|
inlineprivate |
◆ reset()
void ACE::FTP::Response::reset |
( |
| ) |
|
|
inline |
◆ response()
retrieves the current response line(s)
◆ status() [1/2]
int ACE::FTP::Response::status |
( |
| ) |
const |
|
inline |
returns the current response status
◆ status() [2/2]
void ACE::FTP::Response::status |
( |
int | status | ) |
|
|
inline |
sets the current response status
◆ status_sub_type()
returns the current response sub type
◆ status_type() [1/2]
returns the current response type
◆ status_type() [2/2]
◆ write()
void ACE::FTP::Response::write |
( |
std::ostream & | str | ) |
const |
Writes the FTP response to the given stream.
◆ eof_
const int ACE::FTP::Response::eof_ = std::char_traits<char>::eof () |
|
staticprivate |
◆ response_
◆ status_
int ACE::FTP::Response::status_ |
|
private |
The documentation for this class was generated from the following files: