Public Member Functions | Data Fields

SpdyClientSession Class Reference

#include <SpdyClientSession.h>

Inherits Continuation, and PluginIdentity.

Collaboration diagram for SpdyClientSession:
Collaboration graph
[legend]

Public Member Functions

 SpdyClientSession ()
 ~SpdyClientSession ()
void init (NetVConnection *netvc, spdy::SessionVersion vers)
void clear ()
virtual char const * getPluginTag () const
 Get the plugin tag.
virtual int64_t getPluginId () const
 Get the plugin instance ID.
SpdyRequestfind_request (int streamId)
void cleanup_request (int streamId)

Data Fields

int64_t sm_id
spdy::SessionVersion version
uint64_t total_size
TSHRTime start_time
NetVConnectionvc
TSIOBuffer req_buffer
TSIOBufferReader req_reader
TSIOBuffer resp_buffer
TSIOBufferReader resp_reader
TSVIO read_vio
TSVIO write_vio
int event
spdylay_session * session
map< int32_t, SpdyRequest * > req_map

Detailed Description

Definition at line 96 of file SpdyClientSession.h.


Constructor & Destructor Documentation

SpdyClientSession::SpdyClientSession (  )  [inline]

Definition at line 101 of file SpdyClientSession.h.

SpdyClientSession::~SpdyClientSession (  )  [inline]

Definition at line 104 of file SpdyClientSession.h.

References clear().


Member Function Documentation

void SpdyClientSession::cleanup_request ( int  streamId  )  [inline]
void SpdyClientSession::clear ( void   ) 
SpdyRequest* SpdyClientSession::find_request ( int  streamId  )  [inline]
int64_t SpdyClientSession::getPluginId (  )  const [virtual]

Get the plugin instance ID.

A plugin can create multiple subsidiary instances. This is used as the identifier for those to distinguish the instances.

Reimplemented from PluginIdentity.

Definition at line 270 of file SpdyClientSession.cc.

References sm_id.

char const * SpdyClientSession::getPluginTag (  )  const [virtual]

Get the plugin tag.

The returned string must have a lifetime at least as long as the plugin.

Returns:
A string identifying the plugin or NULL.

Reimplemented from PluginIdentity.

Definition at line 276 of file SpdyClientSession.cc.

References version.

void SpdyClientSession::init ( NetVConnection netvc,
spdy::SessionVersion  vers 
)

Field Documentation

Definition at line 127 of file SpdyClientSession.h.

Referenced by clear().

Definition at line 118 of file SpdyClientSession.h.

Referenced by clear(), and spdy_cs_create().

Definition at line 119 of file SpdyClientSession.h.

Referenced by clear(), spdy_cs_create(), and spdy_recv_callback().

Definition at line 121 of file SpdyClientSession.h.

Referenced by clear(), spdy_cs_create(), and spdy_send_callback().

Definition at line 122 of file SpdyClientSession.h.

Referenced by clear(), spdy_cs_create(), and spdy_process_write().

spdylay_session* SpdyClientSession::session

Definition at line 114 of file SpdyClientSession.h.

Referenced by init().

Definition at line 113 of file SpdyClientSession.h.

Referenced by init(), spdy_process_write(), and spdy_send_callback().

Definition at line 116 of file SpdyClientSession.h.

Referenced by clear(), init(), and spdy_fetcher_launch().

Definition at line 112 of file SpdyClientSession.h.

Referenced by getPluginTag(), and init().


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