![Inheritance graph](classAdaptation_1_1AnswerCall__inherit__graph.png)
![Collaboration graph](classAdaptation_1_1AnswerCall__coll__graph.png)
Public Types | |
using | Dialer = AnswerDialer |
using | Pointer = AsyncCallPointer |
Public Member Functions | |
AnswerCall (const char *aName, const AnswerDialer &aDialer) | |
void | fire () override |
~AnswerCall () override | |
CallDialer * | getDialer () override |
void | make () |
bool | cancel (const char *reason) |
bool | canceled () const |
void | print (std::ostream &os) |
void | dequeue (AsyncCall::Pointer &head, AsyncCall::Pointer &prev) |
remove us from the queue; we are head unless we are queued after prev More... | |
void | setNext (AsyncCall::Pointer aNext) |
AsyncCall::Pointer & | Next () |
Public Attributes | |
Dialer | dialer |
const char *const | name |
CodeContext::Pointer | codeContext |
what the callee is expected to work on More... | |
const int | debugSection |
const int | debugLevel |
const InstanceId< AsyncCall > | id |
Protected Member Functions | |
bool | canFire () override |
Protected Attributes | |
AsyncCall::Pointer | theNext |
for AsyncCallList and similar lists More... | |
Private Attributes | |
bool | fired |
whether we fired the call More... | |
const char * | isCanceled |
Detailed Description
Calls expectNoConsumption() if noteAdaptationAnswer async call is scheduled but never fired (e.g., because the HTTP transaction aborts).
Definition at line 23 of file Initiate.cc.
Member Typedef Documentation
◆ Dialer
|
inherited |
Definition at line 127 of file AsyncCall.h.
◆ Pointer
|
inherited |
Definition at line 43 of file AsyncCall.h.
Constructor & Destructor Documentation
◆ AnswerCall()
|
inline |
Definition at line 26 of file Initiate.cc.
◆ ~AnswerCall()
|
inlineoverride |
Definition at line 32 of file Initiate.cc.
References AsyncCallT< AnswerDialer >::dialer, and fired.
Member Function Documentation
◆ cancel()
|
inherited |
Definition at line 56 of file AsyncCall.cc.
References AsyncCall::debugLevel, debugs, AsyncCall::debugSection, AsyncCall::isCanceled, and AsyncCall::name.
Referenced by AsyncJob::canBeCalled(), JobWaitBase::cancel(), JobDialer< BodyConsumer >::canDial(), EventDialer::canDial(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), comm_remove_close_handler(), HappyOrderEnforcer::dequeue(), Comm::ReadCancel(), and StoreEntry::unregisterAbortCallback().
◆ canceled()
|
inlineinherited |
Definition at line 53 of file AsyncCall.h.
References AsyncCall::isCanceled.
Referenced by commCallCloseHandlers().
◆ canFire()
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from AsyncCall.
Definition at line 144 of file AsyncCall.h.
◆ dequeue()
|
inherited |
Definition at line 84 of file AsyncCall.cc.
References head, AsyncCall::Next(), and AsyncCall::setNext().
Referenced by comm_remove_close_handler().
◆ fire()
|
inlineoverridevirtual |
Implements AsyncCall.
Definition at line 28 of file Initiate.cc.
References AsyncCallT< DialerClass >::fire(), and fired.
◆ getDialer()
|
inlineoverridevirtualinherited |
Implements AsyncCall.
Definition at line 139 of file AsyncCall.h.
◆ make()
|
inherited |
Definition at line 39 of file AsyncCall.cc.
References AsyncCall::canFire(), AsyncCall::debugLevel, debugs, AsyncCall::debugSection, AsyncCall::fire(), AsyncCall::isCanceled, and AsyncCall::name.
◆ Next()
|
inlineinherited |
Definition at line 66 of file AsyncCall.h.
References AsyncCall::theNext.
Referenced by AsyncCallList::add(), comm_remove_close_handler(), commCallCloseHandlers(), AsyncCall::dequeue(), and AsyncCallList::extract().
◆ print()
|
inherited |
Definition at line 74 of file AsyncCall.cc.
References AsyncCall::getDialer(), and AsyncCall::name.
Referenced by operator<<().
◆ setNext()
|
inlineinherited |
Definition at line 62 of file AsyncCall.h.
References AsyncCall::theNext.
Referenced by AsyncCallList::add(), comm_add_close_handler(), commCallCloseHandlers(), AsyncCall::dequeue(), and AsyncCallList::extract().
Member Data Documentation
◆ codeContext
|
inherited |
Definition at line 74 of file AsyncCall.h.
Referenced by CallSubscription< Call_ >::callback(), and ScheduleCall().
◆ debugLevel
|
inherited |
Definition at line 77 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncJob::callEnd(), AsyncJob::callStart(), JobWaitBase::cancel(), AsyncCall::cancel(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), AsyncCall::make(), and ScheduleCall().
◆ debugSection
|
inherited |
Definition at line 76 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncJob::callEnd(), AsyncJob::callStart(), JobWaitBase::cancel(), AsyncCall::cancel(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), JobDialer< BodyConsumer >::dial(), AsyncCall::make(), and ScheduleCall().
◆ dialer
|
inherited |
Definition at line 141 of file AsyncCall.h.
◆ fired
|
private |
Definition at line 38 of file Initiate.cc.
Referenced by fire(), and ~AnswerCall().
◆ id
|
inherited |
Definition at line 78 of file AsyncCall.h.
Referenced by JobWaitBase::print(), and ScheduleCall().
◆ isCanceled
|
privateinherited |
Definition at line 88 of file AsyncCall.h.
Referenced by AsyncCall::cancel(), AsyncCall::canceled(), AsyncCall::canFire(), and AsyncCall::make().
◆ name
|
inherited |
Definition at line 71 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncCall::cancel(), JobDialer< BodyConsumer >::dial(), AsyncCall::make(), and AsyncCall::print().
◆ theNext
|
protectedinherited |
Definition at line 85 of file AsyncCall.h.
Referenced by AsyncCall::Next(), AsyncCall::setNext(), and AsyncCall::~AsyncCall().
The documentation for this class was generated from the following file:
- src/adaptation/Initiate.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products