ACE_INet
6.1.9
|
#include <FTP_Request.h>
Public Member Functions | |
Request () | |
virtual | ~Request () |
void | reset () |
resets the request object More... | |
Request & | operator() (const ACE_CString &cmd) |
void | command (const ACE_CString &cmd) |
sets the current command More... | |
const ACE_CString & | command () const |
returns the current command More... | |
Request & | operator<< (const ACE_CString &arg) |
const ACE_CString & | arguments () const |
returns the arguments string More... | |
void | arguments (ACE_Array< ACE_CString > &args) const |
retrieves the arguments More... | |
void | write (std::ostream &str) const |
Writes the FTP request to the given stream. More... | |
bool | read (std::istream &str) |
Public Member Functions inherited from ACE::INet::Request | |
Request () | |
Static Public Attributes | |
static const ACE_CString | FTP_USER = "USER" |
static const ACE_CString | FTP_PASS = "PASS" |
static const ACE_CString | FTP_QUIT = "QUIT" |
static const ACE_CString | FTP_TYPE = "TYPE" |
static const ACE_CString | FTP_SYST = "SYST" |
static const ACE_CString | FTP_PWD = "PWD" |
static const ACE_CString | FTP_CWD = "CWD" |
static const ACE_CString | FTP_CDUP = "CDUP" |
static const ACE_CString | FTP_RNFR = "RNFR" |
static const ACE_CString | FTP_RNTO = "RNTO" |
static const ACE_CString | FTP_DELE = "DELE" |
static const ACE_CString | FTP_MKD = "MKD" |
static const ACE_CString | FTP_RMD = "RMD" |
static const ACE_CString | FTP_RETR = "RETR" |
static const ACE_CString | FTP_STOR = "STOR" |
static const ACE_CString | FTP_LIST = "LIST" |
static const ACE_CString | FTP_NLST = "NLST" |
static const ACE_CString | FTP_ABOR = "ABOR" |
static const ACE_CString | FTP_EPRT = "EPRT" |
static const ACE_CString | FTP_PORT = "PORT" |
static const ACE_CString | FTP_EPSV = "EPSV" |
static const ACE_CString | FTP_PASV = "PASV" |
static const ACE_CString | FTP_STAT = "STAT" |
Private Types | |
enum | Limits { MAX_CMD_LENGTH = 4, MAX_ARG_LENGTH = 4096 } |
Private Attributes | |
ACE_CString | command_ |
ACE_CString | args_ |
Static Private Attributes | |
static const int | eof_ = std::char_traits<char>::eof () |
|
private |
ACE::FTP::Request::Request | ( | ) |
|
virtual |
Reimplemented from ACE::INet::Request.
|
inline |
returns the arguments string
void ACE::FTP::Request::arguments | ( | ACE_Array< ACE_CString > & | args | ) | const |
retrieves the arguments
|
inline |
sets the current command
|
inline |
returns the current command
|
inline |
resets the request object and sets new command
|
inline |
adds a command argument separates multiple arguments with a space
bool ACE::FTP::Request::read | ( | std::istream & | str | ) |
Reads the FTP request from the given stream.
|
inline |
resets the request object
void ACE::FTP::Request::write | ( | std::ostream & | str | ) | const |
Writes the FTP request to the given stream.
|
private |
|
private |
|
staticprivate |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |