CommCloseCbParams Class Reference

#include <CommCalls.h>

Inheritance diagram for CommCloseCbParams:
Collaboration diagram for CommCloseCbParams:

Public Member Functions

 CommCloseCbParams (void *aData)
 
bool syncWithComm ()
 adjust using the current Comm state; returns false to cancel the call More...
 
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 132 of file CommCalls.h.

Constructor & Destructor Documentation

CommCloseCbParams::CommCloseCbParams ( void *  aData)

Definition at line 115 of file CommCalls.cc.

Member Function Documentation

bool CommCommonCbParams::syncWithComm ( )
inlineinherited

Definition at line 69 of file CommCalls.h.

Member Data Documentation

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 85 of file CommCalls.h.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors