ACE_INet  6.1.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
ACE::HTTPS::Session_T< ACE_SYNCH_DECL > Class Template Reference

#include <HTTPS_Session.h>

Inheritance diagram for ACE::HTTPS::Session_T< ACE_SYNCH_DECL >:
Inheritance graph
Collaboration diagram for ACE::HTTPS::Session_T< ACE_SYNCH_DECL >:
Collaboration graph

Public Types

typedef
ACE::IOS::StreamHandler
< ACE_SSL_SOCK_Stream,
ACE_SYNCH_USE
connection_type
 

Public Member Functions

 Session_T (bool keep_alive=true)
 
 Session_T (const ACE_Time_Value &timeout, bool keep_alive=true, const ACE_Time_Value *alive_timeout=0)
 
virtual ~Session_T ()
 
virtual bool is_connected () const
 
bool attach_connection (connection_type *connection)
 
- Public Member Functions inherited from ACE::HTTP::SessionBase
 SessionBase (u_short port, bool keep_alive=false)
 
 SessionBase (u_short port, const ACE_Time_Value &timeout, bool keep_alive=false, const ACE_Time_Value *alive_timeout=0)
 
virtual ~SessionBase ()
 
void set_keep_alive (bool f)
 
bool keep_alive () const
 
void set_host (const ACE_CString &host, u_short port)
 
void set_host (const ACE_CString &host)
 
void set_port (u_short port)
 
void set_proxy_target (const ACE_CString &host, u_short port)
 
const ACE_CStringget_host () const
 
u_short get_port () const
 
bool is_proxy_connection () const
 
const ACE_CStringget_proxy_target_host () const
 
u_short get_proxy_target_port () const
 
bool connect (bool use_reactor=false)
 
std::ostream & send_request (Request &request)
 
std::ostream & request_stream ()
 
std::ostream & request_stream (ACE::IOS::StreamInterceptor &interceptor)
 
std::istream & receive_response (Response &response)
 
std::istream & response_stream ()
 
std::istream & response_stream (ACE::IOS::StreamInterceptor &interceptor)
 
void close ()
 

Protected Member Functions

void close_connection ()
 
virtual bool connect_i (const ACE_Synch_Options &sync_opt)
 
virtual void close_i ()
 
virtual std::iostream & sock_stream ()
 
- Protected Member Functions inherited from ACE::HTTP::SessionBase
bool reconnect_needed ()
 
void close_streams ()
 

Private Types

typedef
ACE::IOS::SSLSock_IOStreamBase
< ACE_SYNCH_USE
sock_stream_type
 

Private Attributes

connection_typeconnection_
 
sock_stream_typesock_stream_
 

Additional Inherited Members

- Protected Types inherited from ACE::HTTP::SessionBase
enum  { DEFAULT_TIMEOUT = 30, DEFAULT_KEEP_ALIVE_TIMEOUT = 8 }
 
- Protected Attributes inherited from ACE::HTTP::SessionBase
ACE_CString host_
 
u_short port_
 
bool proxy_connection_
 
ACE_CString proxy_target_host_
 
u_short proxy_target_port_
 
bool reactive_
 
IStreamin_stream_
 
OStreamout_stream_
 
ACE_Time_Value http_timeout_
 
ACE_Time_Value keep_alive_timeout_
 
ACE_Time_Value reconnect_timer_
 
ACE_Countdown_Time reconnect_countdown_
 
bool keep_alive_
 
bool needs_reconnect_
 
bool cannot_reconnect_
 
bool expects_response_body_
 

Member Typedef Documentation

template<ACE_SYNCH_DECL >
typedef ACE::IOS::StreamHandler<ACE_SSL_SOCK_Stream, ACE_SYNCH_USE> ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::connection_type

Constructor & Destructor Documentation

template<ACE_SYNCH_DECL >
ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::Session_T ( bool  keep_alive = true)
template<ACE_SYNCH_DECL >
ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::Session_T ( const ACE_Time_Value timeout,
bool  keep_alive = true,
const ACE_Time_Value alive_timeout = 0 
)
template<ACE_SYNCH_DECL >
ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::~Session_T ( )
virtual

Member Function Documentation

template<ACE_SYNCH_DECL >
bool ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::attach_connection ( connection_type connection)
template<ACE_SYNCH_DECL >
void ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::close_connection ( )
protected
template<ACE_SYNCH_DECL >
void ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::close_i ( )
protectedvirtual
template<ACE_SYNCH_DECL >
bool ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::connect_i ( const ACE_Synch_Options sync_opt)
protectedvirtual
template<ACE_SYNCH_DECL >
bool ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::is_connected ( ) const
virtual
template<ACE_SYNCH_DECL >
std::iostream & ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::sock_stream ( )
protectedvirtual

Member Data Documentation

template<ACE_SYNCH_DECL >
connection_type* ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::connection_
private
template<ACE_SYNCH_DECL >
sock_stream_type* ACE::HTTPS::Session_T< ACE_SYNCH_DECL >::sock_stream_
private

The documentation for this class was generated from the following files: