CommAcceptCbParams Class Reference

#include <CommCalls.h>

Inheritance diagram for CommAcceptCbParams:
Collaboration diagram for CommAcceptCbParams:

Public Member Functions

 CommAcceptCbParams (void *aData)
void print (std::ostream &os) const
bool syncWithComm ()
 adjust using the current Comm state; returns false to cancel the call More...

Public Attributes

MasterXaction::Pointer xaction
 Transaction which this call is part of. More...
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 97 of file CommCalls.h.

Constructor & Destructor Documentation

CommAcceptCbParams::CommAcceptCbParams ( void *  aData)

Definition at line 51 of file

Member Function Documentation

void CommAcceptCbParams::print ( std::ostream &  os) const

Definition at line 57 of file

References MasterXaction::id, NULL, CommCommonCbParams::print(), and xaction.

Referenced by CommAcceptCbPtrFun::print().

bool CommCommonCbParams::syncWithComm ( )

Definition at line 69 of file CommCalls.h.

Member Data Documentation

Comm::ConnectionPointer CommCommonCbParams::conn

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().

MasterXaction::Pointer CommAcceptCbParams::xaction

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






Web Site Translations