Public Member Functions | Public Attributes | Private Member Functions

soup_soa::SoaSoupSession Struct Reference

List of all members.

Public Member Functions

 SoaSoupSession (SoupMessage *msg, const std::string &ssl_ca_file)
 SoaSoupSession (SoupMessage *msg, const std::string &ssl_ca_file, boost::function< void(SoupSession *, SoupMessage *, uint32_t)> progress_cb_)
 ~SoaSoupSession ()
void callback (uint32_t progress)

Public Attributes

SoupSession * m_session
SoupMessage * m_msg
< boost::function< void(SoupSession
*, SoupMessage *, uint32_t)> 
progress_cb_ptr )
uint32_t received_content_length

Private Member Functions

void _set_session (const std::string &ssl_ca_file)

Constructor & Destructor Documentation

soup_soa::SoaSoupSession::SoaSoupSession ( SoupMessage *  msg,
const std::string &  ssl_ca_file 
) [inline]

References _set_session().

soup_soa::SoaSoupSession::SoaSoupSession ( SoupMessage *  msg,
const std::string &  ssl_ca_file,
boost::function< void(SoupSession *, SoupMessage *, uint32_t)>  progress_cb_ 
) [inline]

References _set_session().

soup_soa::SoaSoupSession::~SoaSoupSession (  )  [inline]

References m_msg, and m_session.

Member Function Documentation

void soup_soa::SoaSoupSession::_set_session ( const std::string &  ssl_ca_file  )  [inline, private]

References m_session.

Referenced by SoaSoupSession().

void soup_soa::SoaSoupSession::callback ( uint32_t  progress  )  [inline]

References m_msg, m_session, and progress_cb_ptr.

Referenced by soup_soa::_got_chunk_cb().

Member Data Documentation

boost::shared_ptr<boost::function<void (SoupSession*, SoupMessage*, uint32_t)> soup_soa::SoaSoupSession::progress_cb_ptr)

Referenced by callback().

Referenced by soup_soa::_got_chunk_cb().

The documentation for this struct was generated from the following file: