#include <FTP_ClientRequestHandler.h>
List of all members.
Classes | 
| class   | Authentication | 
| class   | SessionFactory | 
| class   | SessionHolder | 
Public Member Functions | 
|   | ClientRequestHandler (bool passive_mode=true) | 
| virtual  | ~ClientRequestHandler () | 
| bool  | uses_passive_mode () const  | 
| void  | use_passive_mode () | 
| void  | use_active_mode (u_short port=0) | 
| u_short  | uses_active_port () const  | 
| virtual Request &  | request () | 
| virtual const Request &  | request () const  | 
| virtual Response &  | response () | 
| virtual const Response &  | response () const  | 
| std::ostream &  | request_stream () | 
| virtual std::istream &  | response_stream () | 
| virtual bool  | is_response_ok () const  | 
| virtual std::istream &  | handle_open_request (const ACE::INet::URL_Base &url) | 
| virtual std::istream &  | handle_get_request (const URL &url, bool binary=true) | 
| void  | quit_connection () | 
Static Public Attributes | 
| static const ACE_CString  | anonymous_user_ = "anonymous" | 
Protected Types | 
typedef Session_T< ACE_SYNCH > 
::connection_type  | connection_type | 
typedef  
ACE::IOS::Sock_IOStreamBase 
< ACE_SYNCH >  | stream_type | 
Protected Member Functions | 
| 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) | 
Static Protected Attributes | 
| static const ACE_CString  | empty_ | 
Private Attributes | 
| Request  | request_ | 
| Response  | response_ | 
| SessionHolder *  | session_ | 
| bool  | use_passive_mode_ | 
| u_short  | active_port_ | 
| OStream  | out_data_stream_ | 
| IStream  | in_data_stream_ | 
| bool  | transfer_active_ | 
| ACE_CString  | current_user_ | 
Member Typedef Documentation
Constructor & Destructor Documentation
      
        
          | ACE::FTP::ClientRequestHandler::ClientRequestHandler  | 
          ( | 
          bool  | 
          passive_mode = true | ) | 
           | 
        
      
 
 
      
        
          | ACE::FTP::ClientRequestHandler::~ClientRequestHandler  | 
          ( | 
           | ) | 
           [virtual] | 
        
      
 
 
Member Function Documentation
      
        
          | bool ACE::FTP::ClientRequestHandler::abort_transfer  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::close_connection  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::finish_transfer  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::get_passive_address  | 
          ( | 
          ACE_INET_Addr &  | 
          addr | ) | 
           [protected] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::handle_connection_error  | 
          ( | 
          const URL &  | 
          url | ) | 
           [protected, virtual] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::handle_credentials  | 
          ( | 
          const URL &  | 
          url,  | 
        
        
           | 
           | 
          ACE_CString &  | 
          user,  | 
        
        
           | 
           | 
          ACE_CString &  | 
          password  | 
        
        
           | 
          ) | 
           |  [protected, virtual] | 
        
      
 
 
      
        
          | std::istream & ACE::FTP::ClientRequestHandler::handle_get_request  | 
          ( | 
          const URL &  | 
          url,  | 
        
        
           | 
           | 
          bool  | 
          binary = true  | 
        
        
           | 
          ) | 
           |  [virtual] | 
        
      
 
 
      
        
          | std::istream & ACE::FTP::ClientRequestHandler::handle_open_request  | 
          ( | 
          const ACE::INet::URL_Base &  | 
          url | ) | 
           [virtual] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::handle_request_error  | 
          ( | 
          const URL &  | 
          url | ) | 
           [protected, virtual] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::initialize_connection  | 
          ( | 
          const ACE_CString &  | 
          host,  | 
        
        
           | 
           | 
          u_short  | 
          port  | 
        
        
           | 
          ) | 
           |  [protected, virtual] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::is_dir  | 
          ( | 
          const ACE_CString &  | 
          path | ) | 
           [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::is_file  | 
          ( | 
          const ACE_CString &  | 
          path | ) | 
           [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::is_response_ok  | 
          ( | 
           | ) | 
           const [virtual] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::is_valid_path  | 
          ( | 
          const ACE_CString &  | 
          path | ) | 
           [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::login  | 
          ( | 
          const ACE_CString &  | 
          user,  | 
        
        
           | 
           | 
          const ACE_CString &  | 
          password  | 
        
        
           | 
          ) | 
           |  [protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::logout  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::on_eof  | 
          ( | 
          void  | 
           | ) | 
           [protected, virtual] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::quit_connection  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::release_connection  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | Request & ACE::FTP::ClientRequestHandler::request  | 
          ( | 
           | ) | 
           [inline, virtual] | 
        
      
 
 
      
        
          | const Request & ACE::FTP::ClientRequestHandler::request  | 
          ( | 
           | ) | 
           const [inline, virtual] | 
        
      
 
 
      
        
          | std::ostream & ACE::FTP::ClientRequestHandler::request_stream  | 
          ( | 
           | ) | 
           [inline] | 
        
      
 
 
      
        
          | Response & ACE::FTP::ClientRequestHandler::response  | 
          ( | 
           | ) | 
           [inline, virtual] | 
        
      
 
 
      
        
          | const Response & ACE::FTP::ClientRequestHandler::response  | 
          ( | 
           | ) | 
           const [inline, virtual] | 
        
      
 
 
      
        
          | std::istream & ACE::FTP::ClientRequestHandler::response_stream  | 
          ( | 
           | ) | 
           [inline, virtual] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::send_active_address  | 
          ( | 
          const ACE_INET_Addr &  | 
          addr | ) | 
           [protected] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::session  | 
          ( | 
          SessionHolder *  | 
          session | ) | 
           [inline, protected] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::set_filetype  | 
          ( | 
          bool  | 
          binary | ) | 
           [protected] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::use_active_mode  | 
          ( | 
          u_short  | 
          port = 0 | ) | 
           [inline] | 
        
      
 
 
      
        
          | void ACE::FTP::ClientRequestHandler::use_passive_mode  | 
          ( | 
           | ) | 
           [inline] | 
        
      
 
 
      
        
          | u_short ACE::FTP::ClientRequestHandler::uses_active_port  | 
          ( | 
           | ) | 
           const [inline] | 
        
      
 
 
      
        
          | bool ACE::FTP::ClientRequestHandler::uses_passive_mode  | 
          ( | 
           | ) | 
           const [inline] | 
        
      
 
 
Member Data Documentation
The documentation for this class was generated from the following files: