AsyncCall.h File Reference
#include "base/CodeContext.h"
#include "base/InstanceId.h"
#include "event.h"
#include "RefCount.h"
Include dependency graph for AsyncCall.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AsyncCall
 
class  CallDialer
 
class  AsyncCallT< Dialer >
 

Macros

#define ScheduleCallHere(call)   ScheduleCall(__FILE__, __LINE__, (call))
 

Functions

std::ostream & operator<< (std::ostream &os, AsyncCall &call)
 
template<class Dialer >
AsyncCallasyncCall (int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
 
bool ScheduleCall (const char *fileName, int fileLine, AsyncCall::Pointer &call)
 

Macro Definition Documentation

◆ ScheduleCallHere

#define ScheduleCallHere (   call)    ScheduleCall(__FILE__, __LINE__, (call))

Call scheduling helper.

Definition at line 166 of file AsyncCall.h.

Function Documentation

◆ asyncCall()

template<class Dialer >
AsyncCall* asyncCall ( int  aDebugSection,
int  aDebugLevel,
const char *  aName,
const Dialer &  aDialer 
)
inline

Definition at line 156 of file AsyncCall.h.

Referenced by Mgr::Forwarder::Forwarder(), Snmp::Forwarder::Forwarder(), Mgr::Inquirer::Inquirer(), Snmp::Inquirer::Inquirer(), Ftp::Relay::Relay(), Mgr::StoreToCommWriter::StoreToCommWriter(), Adaptation::AccessCheck::AccessCheckCallbackWrapper(), Rock::IoState::callBack(), CallJob(), statefulhelper::cancelReservation(), EventScheduler::checkEvents(), clientHttpConnectionsOpen(), clientStartListeningOn(), Log::TcpLogger::Close(), FwdState::connectStart(), AsyncJob::deleteThis(), Adaptation::Icap::Xaction::dnsLookupDone(), FwdState::establishTunnelThruProxy(), TunnelStateData::establishTunnelThruProxy(), BodyPipe::expectNoConsumption(), Client::handleMoreAdaptedBodyAvailable(), PeerPoolMgr::handleOpenedConnection(), helperOpenServers(), helperStatefulOpenServers(), htcpOpenPorts(), icpOpenPorts(), Ipc::Inquirer::inquire(), Adaptation::Icap::Xaction::noteCommConnected(), ClientHttpRequest::noteMoreBodyDataAvailable(), Mgr::StoreToCommWriter::NoteStoreCopied(), Adaptation::Icap::Xaction::openConnection(), BodyPipe::postConsume(), HttpStateData::proceedAfter1xx(), Http::One::Server::processParsedRequest(), Adaptation::Ecap::XactionRep::resume(), BodyPipe::scheduleBodyDataNotification(), BodyPipe::scheduleBodyEndNotification(), Mgr::StoreToCommWriter::scheduleCommWrite(), FwdState::secureConnectionToPeer(), TunnelStateData::secureConnectionToPeer(), Ipc::UdsOp::setTimeout(), snmpOpenPorts(), Security::PeerConnector::sslFinalized(), Mgr::Inquirer::start(), Mgr::StoreToCommWriter::start(), FwdState::start(), Security::PeerConnector::startCertDownloading(), TunnelStateData::startConnecting(), and Ftp::Relay::stopOriginWait().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
AsyncCall call 
)
inline

Definition at line 97 of file AsyncCall.h.

References AsyncCall::print().

◆ ScheduleCall()

bool ScheduleCall ( const char *  fileName,
int  fileLine,
AsyncCall::Pointer call 
)

Call scheduling helper. Use ScheduleCallHere if you can.

Definition at line 94 of file AsyncCall.cc.

References CodeContext::Current(), debugs, AsyncCallQueue::Instance(), and AsyncCallQueue::schedule().

Referenced by CallJob().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors