ACE_INet
6.3.1
|
#include <FTP_Session.h>
Public Types | |
enum | { FTP_PORT = 21 } |
typedef ACE::IOS::StreamHandler < ACE_SOCK_STREAM, ACE_SYNCH_USE > | connection_type |
Public Member Functions | |
Session_T () | |
Session_T (const ACE_Time_Value &timeout) | |
virtual | ~Session_T () |
bool | is_connected () const |
bool | is_new_connection () const |
void | set_host (const ACE_CString &host, u_short port) |
void | set_host (const ACE_CString &host) |
void | set_port (u_short port) |
const ACE_CString & | get_host () const |
u_short | get_port () const |
bool | connect (bool use_reactor=false) |
bool | connect (connection_type *connection) |
bool | send_request (Request &request) |
bool | receive_response (Response &response) |
bool | send_interrupt () |
void | close () |
bool | supports_ftp_extensions () const |
void | set_ftp_extension_support (bool f) |
bool | is_reactive () const |
const ACE_Time_Value & | timeout () const |
void | get_local_addr (ACE_INET_Addr &loc_addr) const |
Private Types | |
enum | { DEFAULT_TIMEOUT = 30, INTERRUPT = 244 } |
typedef ACE::IOS::Sock_IOStreamBase < ACE_SYNCH_USE > | sock_stream_type |
Private Attributes | |
ACE_CString | host_ |
u_short | port_ |
bool | reactive_ |
connection_type * | connection_ |
sock_stream_type * | sock_stream_ |
ACE_Time_Value | ftp_timeout_ |
bool | cannot_reconnect_ |
bool | has_ftp_ext_ |
bool | new_connect_ |
typedef ACE::IOS::StreamHandler<ACE_SOCK_STREAM, ACE_SYNCH_USE> ACE::FTP::Session_T< ACE_SYNCH_DECL >::connection_type |
|
private |
ACE::FTP::Session_T< ACE_SYNCH_DECL >::Session_T | ( | ) |
ACE::FTP::Session_T< ACE_SYNCH_DECL >::Session_T | ( | const ACE_Time_Value & | timeout | ) |
|
virtual |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::close | ( | ) |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::connect | ( | bool | use_reactor = false | ) |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::connect | ( | connection_type * | connection | ) |
const ACE_CString & ACE::FTP::Session_T< ACE_SYNCH_DECL >::get_host | ( | ) | const |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::get_local_addr | ( | ACE_INET_Addr & | loc_addr | ) | const |
u_short ACE::FTP::Session_T< ACE_SYNCH_DECL >::get_port | ( | ) | const |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::is_connected | ( | ) | const |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::is_new_connection | ( | ) | const |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::is_reactive | ( | ) | const |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::receive_response | ( | Response & | response | ) |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::send_interrupt | ( | ) |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::send_request | ( | Request & | request | ) |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::set_ftp_extension_support | ( | bool | f | ) |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::set_host | ( | const ACE_CString & | host, |
u_short | port | ||
) |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::set_host | ( | const ACE_CString & | host | ) |
void ACE::FTP::Session_T< ACE_SYNCH_DECL >::set_port | ( | u_short | port | ) |
bool ACE::FTP::Session_T< ACE_SYNCH_DECL >::supports_ftp_extensions | ( | ) | const |
const ACE_Time_Value & ACE::FTP::Session_T< ACE_SYNCH_DECL >::timeout | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |