24 debugSection(aDebugSection),
25 debugLevel(aDebugLevel),
52 " [" <<
id <<
']' <<
" because of " <<
isCanceled);
59 " [" <<
id <<
"] " << (
isCanceled ?
"also " :
"") <<
60 "because " << reason);
80 os <<
"(?" <<
this <<
"?)";
97 ") will call " << *call <<
" [" << call->
id <<
']' );
bool ScheduleCall(const char *fileName, int fileLine, const AsyncCall::Pointer &call)
#define InstanceIdDefinitions(...)
convenience macro to instantiate Class-specific stuff in .cc files
squidaio_request_t * head
void schedule(const AsyncCallPointer &call)
static AsyncCallQueue & Instance()
void dequeue(AsyncCall::Pointer &head, AsyncCall::Pointer &prev)
remove us from the queue; we are head unless we are queued after prev
const InstanceId< AsyncCall > id
bool cancel(const char *reason)
AsyncCall::Pointer & Next()
void print(std::ostream &os)
virtual CallDialer * getDialer()=0
AsyncCall::Pointer theNext
for AsyncCallList and similar lists
CodeContext::Pointer codeContext
what the callee is expected to work on
void setNext(AsyncCall::Pointer aNext)
static const Pointer & Current()
#define debugs(SECTION, LEVEL, CONTENT)