#include <FTP_ClientRequestHandler.h>
|
virtual void | on_eof () |
|
SessionHolder & | session () |
|
void | session (SessionHolder *session) |
|
virtual bool | initialize_connection (const ACE_CString &host, u_short port) |
|
virtual bool | handle_credentials (const URL &url, ACE_CString &user, ACE_CString &password) |
|
virtual void | handle_request_error (const URL &url) |
|
virtual void | handle_connection_error (const URL &url) |
|
void | release_connection () |
|
void | close_connection () |
|
bool | login (const ACE_CString &user, const ACE_CString &password) |
|
bool | logout () |
|
bool | is_valid_path (const ACE_CString &path) |
|
bool | is_file (const ACE_CString &path) |
|
bool | is_dir (const ACE_CString &path) |
|
bool | set_filetype (bool binary) |
|
stream_type * | start_download (const ACE_CString &path, bool binary) |
|
stream_type * | start_upload (const ACE_CString &path, bool binary) |
|
bool | finish_transfer () |
|
bool | abort_transfer () |
|
Response::StatusType | process_command (const ACE_CString &cmd, const ACE_CString &arg=empty_) |
|
stream_type * | open_data_connection (const ACE_CString &cmd, const ACE_CString &arg) |
|
bool | get_passive_address (ACE_INET_Addr &addr) |
|
bool | parse_address (const ACE_CString &str, ACE_INET_Addr &addr) |
|
bool | parse_ext_address (const ACE_CString &str, ACE_INET_Addr &addr) |
|
bool | send_active_address (const ACE_INET_Addr &addr) |
|
| StreamInterceptorBase () |
|
◆ connection_type
◆ stream_type
◆ ClientRequestHandler()
ACE::FTP::ClientRequestHandler::ClientRequestHandler |
( |
bool | passive_mode = true | ) |
|
◆ ~ClientRequestHandler()
ACE::FTP::ClientRequestHandler::~ClientRequestHandler |
( |
| ) |
|
|
virtual |
◆ abort_transfer()
bool ACE::FTP::ClientRequestHandler::abort_transfer |
( |
| ) |
|
|
protected |
◆ close_connection()
void ACE::FTP::ClientRequestHandler::close_connection |
( |
| ) |
|
|
protected |
◆ finish_transfer()
bool ACE::FTP::ClientRequestHandler::finish_transfer |
( |
| ) |
|
|
protected |
◆ get_passive_address()
bool ACE::FTP::ClientRequestHandler::get_passive_address |
( |
ACE_INET_Addr & | addr | ) |
|
|
protected |
◆ handle_connection_error()
void ACE::FTP::ClientRequestHandler::handle_connection_error |
( |
const URL & | url | ) |
|
|
protectedvirtual |
◆ handle_credentials()
◆ handle_get_request()
std::istream & ACE::FTP::ClientRequestHandler::handle_get_request |
( |
const URL & | url, |
|
|
bool | binary = true ) |
|
virtual |
◆ handle_open_request()
std::istream & ACE::FTP::ClientRequestHandler::handle_open_request |
( |
const ACE::INet::URL_Base & | url | ) |
|
|
virtual |
◆ handle_request_error()
void ACE::FTP::ClientRequestHandler::handle_request_error |
( |
const URL & | url | ) |
|
|
protectedvirtual |
◆ initialize_connection()
bool ACE::FTP::ClientRequestHandler::initialize_connection |
( |
const ACE_CString & | host, |
|
|
u_short | port ) |
|
protectedvirtual |
◆ is_dir()
bool ACE::FTP::ClientRequestHandler::is_dir |
( |
const ACE_CString & | path | ) |
|
|
protected |
◆ is_file()
bool ACE::FTP::ClientRequestHandler::is_file |
( |
const ACE_CString & | path | ) |
|
|
protected |
◆ is_response_ok()
bool ACE::FTP::ClientRequestHandler::is_response_ok |
( |
| ) |
const |
|
virtual |
◆ is_valid_path()
bool ACE::FTP::ClientRequestHandler::is_valid_path |
( |
const ACE_CString & | path | ) |
|
|
protected |
◆ login()
◆ logout()
bool ACE::FTP::ClientRequestHandler::logout |
( |
| ) |
|
|
protected |
◆ on_eof()
void ACE::FTP::ClientRequestHandler::on_eof |
( |
| ) |
|
|
protectedvirtual |
◆ open_data_connection()
◆ parse_address()
◆ parse_ext_address()
◆ process_command()
◆ quit_connection()
void ACE::FTP::ClientRequestHandler::quit_connection |
( |
| ) |
|
◆ release_connection()
void ACE::FTP::ClientRequestHandler::release_connection |
( |
| ) |
|
|
protected |
◆ request() [1/2]
Request & ACE::FTP::ClientRequestHandler::request |
( |
| ) |
|
|
inlinevirtual |
◆ request() [2/2]
const Request & ACE::FTP::ClientRequestHandler::request |
( |
| ) |
const |
|
inlinevirtual |
◆ request_stream()
std::ostream & ACE::FTP::ClientRequestHandler::request_stream |
( |
| ) |
|
|
inline |
◆ response() [1/2]
Response & ACE::FTP::ClientRequestHandler::response |
( |
| ) |
|
|
inlinevirtual |
◆ response() [2/2]
const Response & ACE::FTP::ClientRequestHandler::response |
( |
| ) |
const |
|
inlinevirtual |
◆ response_stream()
std::istream & ACE::FTP::ClientRequestHandler::response_stream |
( |
| ) |
|
|
inlinevirtual |
◆ send_active_address()
bool ACE::FTP::ClientRequestHandler::send_active_address |
( |
const ACE_INET_Addr & | addr | ) |
|
|
protected |
◆ session() [1/2]
◆ session() [2/2]
void ACE::FTP::ClientRequestHandler::session |
( |
SessionHolder * | session | ) |
|
|
inlineprotected |
◆ set_filetype()
bool ACE::FTP::ClientRequestHandler::set_filetype |
( |
bool | binary | ) |
|
|
protected |
◆ start_download()
◆ start_upload()
◆ use_active_mode()
void ACE::FTP::ClientRequestHandler::use_active_mode |
( |
u_short | port = 0 | ) |
|
|
inline |
◆ use_passive_mode()
void ACE::FTP::ClientRequestHandler::use_passive_mode |
( |
| ) |
|
|
inline |
◆ uses_active_port()
u_short ACE::FTP::ClientRequestHandler::uses_active_port |
( |
| ) |
const |
|
inline |
◆ uses_passive_mode()
bool ACE::FTP::ClientRequestHandler::uses_passive_mode |
( |
| ) |
const |
|
inline |
◆ active_port_
u_short ACE::FTP::ClientRequestHandler::active_port_ |
|
private |
◆ anonymous_user_
const ACE_CString ACE::FTP::ClientRequestHandler::anonymous_user_ = "anonymous" |
|
static |
◆ current_user_
ACE_CString ACE::FTP::ClientRequestHandler::current_user_ |
|
private |
◆ empty_
const ACE_CString ACE::FTP::ClientRequestHandler::empty_ |
|
staticprotected |
◆ in_data_stream_
IStream ACE::FTP::ClientRequestHandler::in_data_stream_ |
|
private |
◆ out_data_stream_
OStream ACE::FTP::ClientRequestHandler::out_data_stream_ |
|
private |
◆ request_
Request ACE::FTP::ClientRequestHandler::request_ |
|
private |
◆ response_
Response ACE::FTP::ClientRequestHandler::response_ |
|
private |
◆ session_
◆ transfer_active_
bool ACE::FTP::ClientRequestHandler::transfer_active_ |
|
private |
◆ use_passive_mode_
bool ACE::FTP::ClientRequestHandler::use_passive_mode_ |
|
private |
The documentation for this class was generated from the following files: