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

AnyP::PortCfgPointer port
 the configuration listening port this call relates to (may be nil) 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 92 of file CommCalls.h.

Constructor & Destructor Documentation

◆ CommAcceptCbParams()

CommAcceptCbParams::CommAcceptCbParams ( void *  aData)

Definition at line 51 of file CommCalls.cc.

Member Function Documentation

◆ print()

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

Definition at line 60 of file CommCalls.cc.

References port, and CommCommonCbParams::print().

Referenced by CommAcceptCbPtrFun::print().

◆ syncWithComm()

bool CommCommonCbParams::syncWithComm ( )
inlineinherited

Definition at line 64 of file CommCalls.h.

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(), CommConnectCbParams::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

◆ port

◆ xerrno


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors