ConnStateData::ServerConnectionContext Class Reference

noteTakeServerConnectionControl() callback parameter More...

#include <client_side.h>

Collaboration diagram for ConnStateData::ServerConnectionContext:

Public Member Functions

 ServerConnectionContext (const Comm::ConnectionPointer &conn, const HttpRequest::Pointer &req, const SBuf &post101Bytes)
 
Comm::ConnectionPointer connection ()
 gives to-server connection to the new owner More...
 

Public Attributes

SBuf preReadServerBytes
 post-101 bytes received from the server More...
 

Private Attributes

Comm::ConnectionPointer conn_
 to-server connection More...
 

Friends

std::ostream & operator<< (std::ostream &, const ServerConnectionContext &)
 

Detailed Description

Definition at line 203 of file client_side.h.

Constructor & Destructor Documentation

◆ ServerConnectionContext()

ConnStateData::ServerConnectionContext::ServerConnectionContext ( const Comm::ConnectionPointer conn,
const HttpRequest::Pointer req,
const SBuf post101Bytes 
)
inline

Definition at line 205 of file client_side.h.

References conn_, and Comm::Connection::enterOrphanage().

Member Function Documentation

◆ connection()

Comm::ConnectionPointer ConnStateData::ServerConnectionContext::connection ( )
inline

Definition at line 208 of file client_side.h.

References conn_, and Comm::Connection::leaveOrphanage().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const ServerConnectionContext  
)
friend

Definition at line 4093 of file client_side.cc.

Member Data Documentation

◆ conn_

Comm::ConnectionPointer ConnStateData::ServerConnectionContext::conn_
private

Definition at line 214 of file client_side.h.

Referenced by connection(), operator<<(), and ServerConnectionContext().

◆ preReadServerBytes

SBuf ConnStateData::ServerConnectionContext::preReadServerBytes

Definition at line 210 of file client_side.h.

Referenced by operator<<().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors