ACE_INet  6.0.7
Public Types | Public Member Functions | Private Types | Private Attributes
ACE::FTP::Session_T Class Reference

#include <FTP_Session.h>

Collaboration diagram for ACE::FTP::Session_T:
Collaboration graph
[legend]

List of all members.

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_CStringget_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_Valuetimeout () 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_typeconnection_
sock_stream_typesock_stream_
ACE_Time_Value ftp_timeout_
bool cannot_reconnect_
bool has_ftp_ext_
bool new_connect_

Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
FTP_PORT 
anonymous enum [private]
Enumerator:
DEFAULT_TIMEOUT 
INTERRUPT 

Constructor & Destructor Documentation

ACE::FTP::Session_T::Session_T ( )
ACE::FTP::Session_T::Session_T ( const ACE_Time_Value timeout)
ACE::FTP::Session_T::~Session_T ( ) [virtual]

Member Function Documentation

void ACE::FTP::Session_T::close ( )
bool ACE::FTP::Session_T::connect ( bool  use_reactor = false)
bool ACE::FTP::Session_T::connect ( connection_type connection)
const ACE_CString & ACE::FTP::Session_T::get_host ( ) const
void ACE::FTP::Session_T::get_local_addr ( ACE_INET_Addr loc_addr) const
u_short ACE::FTP::Session_T::get_port ( ) const
bool ACE::FTP::Session_T::is_connected ( ) const
bool ACE::FTP::Session_T::is_new_connection ( ) const
bool ACE::FTP::Session_T::is_reactive ( ) const
bool ACE::FTP::Session_T::receive_response ( Response response)
bool ACE::FTP::Session_T::send_interrupt ( )
bool ACE::FTP::Session_T::send_request ( Request request)
void ACE::FTP::Session_T::set_ftp_extension_support ( bool  f)
void ACE::FTP::Session_T::set_host ( const ACE_CString host,
u_short  port 
)
void ACE::FTP::Session_T::set_host ( const ACE_CString host)
void ACE::FTP::Session_T::set_port ( u_short  port)
bool ACE::FTP::Session_T::supports_ftp_extensions ( ) const
const ACE_Time_Value & ACE::FTP::Session_T::timeout ( ) const

Member Data Documentation

u_short ACE::FTP::Session_T::port_ [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines