ACE_INet
6.1.9
|
#include <HTTP_Session.h>
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_CString & | get_host () const |
u_short | get_port () const |
bool | is_proxy_connection () const |
const ACE_CString & | get_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_type * | connection_ |
sock_stream_type * | sock_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_ |
IStream * | in_stream_ |
OStream * | out_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_ |
typedef ACE::IOS::StreamHandler<ACE_SOCK_STREAM, ACE_SYNCH_USE> ACE::HTTP::Session_T< ACE_SYNCH_DECL >::connection_type |
|
private |
ACE::HTTP::Session_T< ACE_SYNCH_DECL >::Session_T | ( | bool | keep_alive = false | ) |
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 |
||
) |
|
virtual |
bool ACE::HTTP::Session_T< ACE_SYNCH_DECL >::attach_connection | ( | connection_type * | connection | ) |
|
protected |
|
protectedvirtual |
Implements ACE::HTTP::SessionBase.
|
protectedvirtual |
Implements ACE::HTTP::SessionBase.
|
virtual |
Implements ACE::HTTP::SessionBase.
|
protectedvirtual |
Implements ACE::HTTP::SessionBase.
|
private |
|
private |