|
Squid Web Cache master
|
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 | |
| 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 | |
| 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 | |
Private Attributes | |
| bool | fired |
| whether we fired the call | |
| const char * | isCanceled |
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.
|
inherited |
Definition at line 127 of file AsyncCall.h.
|
inherited |
Definition at line 43 of file AsyncCall.h.
|
inline |
Definition at line 26 of file Initiate.cc.
|
inlineoverride |
Definition at line 32 of file Initiate.cc.
References AsyncCallT< AnswerDialer >::dialer, and fired.
|
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< Job >::canDial(), EventDialer::canDial(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), comm_remove_close_handler(), comm_remove_close_handler(), HappyOrderEnforcer::dequeue(), Comm::ReadCancel(), storeUnregister(), and StoreEntry::unregisterAbortCallback().
|
inlineinherited |
Definition at line 53 of file AsyncCall.h.
References AsyncCall::isCanceled.
Referenced by commCallCloseHandlers().
|
inlineoverrideprotectedvirtualinherited |
Reimplemented from AsyncCall.
Definition at line 144 of file AsyncCall.h.
|
inherited |
Definition at line 84 of file AsyncCall.cc.
References head, AsyncCall::Next(), and AsyncCall::setNext().
Referenced by comm_remove_close_handler(), and comm_remove_close_handler().
|
inlineoverridevirtual |
Implements AsyncCall.
Definition at line 28 of file Initiate.cc.
References AsyncCallT< DialerClass >::fire(), and fired.
|
inlineoverridevirtualinherited |
Implements AsyncCall.
Definition at line 139 of file AsyncCall.h.
|
inherited |
Definition at line 39 of file AsyncCall.cc.
References AsyncCall::canFire(), AsyncCall::debugLevel, debugs, AsyncCall::debugSection, AsyncCall::fire(), AsyncCall::isCanceled, and AsyncCall::name.
|
inlineinherited |
Definition at line 66 of file AsyncCall.h.
References AsyncCall::theNext.
Referenced by AsyncCallList::add(), comm_remove_close_handler(), comm_remove_close_handler(), commCallCloseHandlers(), AsyncCall::dequeue(), and AsyncCallList::extract().
|
inherited |
Definition at line 74 of file AsyncCall.cc.
References AsyncCall::getDialer(), and AsyncCall::name.
Referenced by operator<<().
|
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().
|
inherited |
Definition at line 74 of file AsyncCall.h.
Referenced by CallSubscription< Call_ >::callback(), and ScheduleCall().
|
inherited |
Definition at line 77 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncJob::callEnd(), AsyncJob::callStart(), AsyncCall::cancel(), JobWaitBase::cancel(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), AsyncCall::make(), and ScheduleCall().
|
inherited |
Definition at line 76 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncJob::callEnd(), AsyncJob::callStart(), AsyncCall::cancel(), JobWaitBase::cancel(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), JobDialer< Job >::dial(), AsyncCall::make(), and ScheduleCall().
|
inherited |
Definition at line 141 of file AsyncCall.h.
|
private |
Definition at line 38 of file Initiate.cc.
Referenced by ~AnswerCall(), and fire().
|
inherited |
Definition at line 78 of file AsyncCall.h.
Referenced by JobWaitBase::print(), and ScheduleCall().
|
privateinherited |
Definition at line 88 of file AsyncCall.h.
Referenced by AsyncCall::cancel(), AsyncCall::canceled(), AsyncCall::canFire(), and AsyncCall::make().
|
inherited |
Definition at line 71 of file AsyncCall.h.
Referenced by AsyncCall::AsyncCall(), AsyncCall::cancel(), JobDialer< Job >::dial(), AsyncCall::make(), and AsyncCall::print().
|
protectedinherited |
Definition at line 85 of file AsyncCall.h.
Referenced by AsyncCall::~AsyncCall(), AsyncCall::Next(), and AsyncCall::setNext().