CommConnectCbParams Class Reference

#include <CommCalls.h>

Inheritance diagram for CommConnectCbParams:
Collaboration diagram for CommConnectCbParams:

Public Member Functions

 CommConnectCbParams (void *aData)
 
bool syncWithComm ()
 
void print (std::ostream &os) const
 

Public Attributes

void * data
 
Comm::ConnectionPointer conn
 
Comm::Flag flag
 comm layer result status. More...
 
int xerrno
 The last errno to occur. non-zero if flag is Comm::COMM_ERROR. More...
 
int fd
 FD which the call was about. Set by the async call creator. More...
 

Detailed Description

Definition at line 104 of file CommCalls.h.

Constructor & Destructor Documentation

◆ CommConnectCbParams()

CommConnectCbParams::CommConnectCbParams ( void *  aData)

Definition at line 70 of file CommCalls.cc.

Member Function Documentation

◆ print()

◆ syncWithComm()

Member Data Documentation

◆ conn

Comm::ConnectionPointer CommCommonCbParams::conn
inherited

The connection which this call pertains to.

  • On accept() calls this is the new client connection.
  • On connect() finished calls this is the newely opened connection.
  • On write calls this is the connection just written to.
  • On read calls this is the connection just read from.
  • On close calls this describes the connection which is now closed.
  • On timeouts this is the connection whose operation timed out.
    • NP: timeouts might also return to the connect/read/write handler with Comm::TIMEOUT.

Definition at line 80 of file CommCalls.h.

Referenced by Ftp::Server::AcceptCtrlConnection(), Ftp::Server::acceptDataConnection(), ConnStateData::clientPinnedConnectionClosed(), ConnStateData::clientPinnedConnectionRead(), Server::clientWriteDone(), Log::TcpLogger::connectDone(), Ftp::Server::connectedForData(), Ftp::Gateway::dataChannelConnected(), Ftp::Relay::dataChannelConnected(), CommConnectCbPtrFun::dial(), CommIoCbPtrFun::dial(), Server::doClientRead(), Comm::ConnOpener::earlyAbort(), Ftp::Gateway::ftpAcceptDataConnection(), HappyConnOpener::handleConnOpenerAnswer(), PeerPoolMgr::handleOpenedConnection(), Http::Tunneler::handleReadyRead(), httpAccept(), httpsAccept(), ConnStateData::lifetimeTimeout(), Snmp::Inquirer::noteCommClosed(), Adaptation::Icap::Xaction::noteCommConnected(), Adaptation::Icap::Xaction::noteCommRead(), Ipc::Port::noteRead(), Mgr::Inquirer::noteWroteHeader(), Comm::TcpAcceptor::notify(), CommCommonCbParams::print(), Comm::ReadNow(), HttpStateData::readReply(), Ftp::Server::readUploadData(), Helper::Session::requestTimeout(), ConnStateData::requestTimeout(), ClientHttpRequest::sslBumpStart(), syncWithComm(), CommIoCbParams::syncWithComm(), Ftp::Client::timeout(), tunnelTimeout(), whoisTimeout(), Ftp::Client::writeCommandCallback(), Ipc::UdsSender::wrote(), HttpControlMsgSink::wroteControlMsg(), Ftp::Server::wroteEarlyReply(), and Ftp::Server::wroteReply().

◆ data

◆ fd

◆ flag

◆ xerrno


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors