ACE_INet  6.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
ACE::HTTP::Session_T< ACE_SYNCH_DECL > Class Template Reference

#include <HTTP_Session.h>

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

List of all members.

Public Types

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

Public Member Functions

 Session_T (bool keep_alive=false)
 Session_T (const ACE_Time_Value &timeout, bool keep_alive=false, 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::Sock_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


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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