#include <CommCalls.h>
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()
|
inlineinherited |
Definition at line 64 of file CommCalls.h.
Member Data Documentation
◆ 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
|
inherited |
Definition at line 69 of file CommCalls.h.
Referenced by CommCommonCbParams::~CommCommonCbParams(), Security::PeerConnector::commCloseHandler(), CommConnectCbPtrFun::dial(), CommIoCbPtrFun::dial(), fwdServerClosedWrapper(), HttpStateData::httpStateConnClosed(), idnsVCClosed(), CommCommonCbParams::print(), Helper::Session::requestTimeout(), tunnelClientClosed(), tunnelServerClosed(), tunnelTimeout(), whoisClose(), and whoisTimeout().
◆ fd
|
inherited |
Definition at line 85 of file CommCalls.h.
Referenced by Security::PeerConnector::commCloseHandler(), Ftp::Client::dataRead(), HttpStateData::httpStateConnClosed(), Snmp::Forwarder::noteCommClosed(), Mgr::StoreToCommWriter::noteCommWrote(), Comm::TcpAcceptor::notify(), CommCommonCbParams::print(), Ftp::Client::readControlReply(), ConnStateData::requestTimeout(), Client::sentRequestBody(), whoisClose(), Ftp::Client::writeCommandCallback(), and HttpStateData::wroteLast().
◆ flag
|
inherited |
Definition at line 82 of file CommCalls.h.
Referenced by Ftp::Server::AcceptCtrlConnection(), Ftp::Server::acceptDataConnection(), ConnStateData::clientPinnedConnectionRead(), Server::clientWriteDone(), Log::TcpLogger::connectDone(), Ftp::Server::connectedForData(), Ftp::Gateway::dataChannelConnected(), Ftp::Relay::dataChannelConnected(), Ftp::Client::dataRead(), CommConnectCbPtrFun::dial(), CommIoCbPtrFun::dial(), Server::doClientRead(), Ftp::Gateway::ftpAcceptDataConnection(), HappyConnOpener::handleConnOpenerAnswer(), PeerPoolMgr::handleOpenedConnection(), Http::Tunneler::handleReadyRead(), Http::Tunneler::handleWrittenRequest(), httpAccept(), httpsAccept(), Adaptation::Icap::Xaction::noteCommConnected(), Adaptation::Icap::Xaction::noteCommRead(), Adaptation::Icap::Xaction::noteCommWrote(), Mgr::StoreToCommWriter::noteCommWrote(), Ipc::Port::noteRead(), Mgr::Inquirer::noteWroteHeader(), Comm::TcpAcceptor::notify(), CommCommonCbParams::print(), Ftp::Client::readControlReply(), Comm::ReadNow(), HttpStateData::readReply(), Ftp::Server::readUploadData(), Client::sentRequestBody(), ClientHttpRequest::sslBumpStart(), CommConnectCbParams::syncWithComm(), CommIoCbParams::syncWithComm(), Ftp::Client::writeCommandCallback(), Log::TcpLogger::writeDone(), Ipc::UdsSender::wrote(), HttpControlMsgSink::wroteControlMsg(), Ftp::Server::wroteEarlyReply(), HttpStateData::wroteLast(), Ftp::Server::wroteReply(), and Ftp::Server::wroteReplyData().
◆ port
AnyP::PortCfgPointer CommAcceptCbParams::port |
Definition at line 100 of file CommCalls.h.
Referenced by Ftp::Server::AcceptCtrlConnection(), httpAccept(), httpsAccept(), Comm::TcpAcceptor::notify(), and print().
◆ xerrno
|
inherited |
Definition at line 83 of file CommCalls.h.
Referenced by Ftp::Server::AcceptCtrlConnection(), Ftp::Server::acceptDataConnection(), Ftp::Gateway::dataChannelConnected(), Ftp::Relay::dataChannelConnected(), Ftp::Client::dataRead(), CommConnectCbPtrFun::dial(), CommIoCbPtrFun::dial(), Server::doClientRead(), Comm::ConnOpener::earlyAbort(), Ftp::Gateway::ftpAcceptDataConnection(), HappyConnOpener::handleConnOpenerAnswer(), Http::Tunneler::handleReadyRead(), Http::Tunneler::handleWrittenRequest(), httpAccept(), httpsAccept(), Adaptation::Icap::Xaction::noteCommRead(), Comm::TcpAcceptor::notify(), CommCommonCbParams::print(), Ftp::Client::readControlReply(), Comm::ReadNow(), HttpStateData::readReply(), Client::sentRequestBody(), Ftp::Client::writeCommandCallback(), Log::TcpLogger::writeDone(), HttpControlMsgSink::wroteControlMsg(), Ftp::Server::wroteEarlyReply(), HttpStateData::wroteLast(), Ftp::Server::wroteReply(), and Ftp::Server::wroteReplyData().
The documentation for this class was generated from the following files:
- src/CommCalls.h
- src/CommCalls.cc