#include <CommCalls.h>
Public Types | |
typedef RefCount< CommCbFunPtrCallT< Dialer > > | Pointer |
typedef Dialer::Params | Params |
Public Member Functions | |
CommCbFunPtrCallT (int debugSection, int debugLevel, const char *callName, const Dialer &aDialer) | |
CommCbFunPtrCallT (const CommCbFunPtrCallT &o) | |
~CommCbFunPtrCallT () 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 |
void | fire () override |
Protected Attributes | |
AsyncCall::Pointer | theNext |
for AsyncCallList and similar lists More... | |
Private Member Functions | |
CommCbFunPtrCallT & | operator= (const CommCbFunPtrCallT &) |
Private Attributes | |
const char * | isCanceled |
Detailed Description
class CommCbFunPtrCallT< Dialer >
Definition at line 280 of file CommCalls.h.
Member Typedef Documentation
◆ Params
typedef Dialer::Params CommCbFunPtrCallT< Dialer >::Params |
Definition at line 284 of file CommCalls.h.
◆ Pointer
typedef RefCount<CommCbFunPtrCallT<Dialer> > CommCbFunPtrCallT< Dialer >::Pointer |
Definition at line 283 of file CommCalls.h.
Constructor & Destructor Documentation
◆ CommCbFunPtrCallT() [1/2]
|
inline |
Definition at line 324 of file CommCalls.h.
◆ CommCbFunPtrCallT() [2/2]
|
inline |
Definition at line 289 of file CommCalls.h.
◆ ~CommCbFunPtrCallT()
|
inlineoverride |
Definition at line 293 of file CommCalls.h.
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< Job >::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()
|
inlineoverrideprotectedvirtual |
Reimplemented from AsyncCall.
Definition at line 333 of file CommCalls.h.
References AsyncCall::canFire(), and cbdataReferenceValid().
◆ dequeue()
|
inherited |
Definition at line 84 of file AsyncCall.cc.
References head, AsyncCall::Next(), and AsyncCall::setNext().
Referenced by comm_remove_close_handler().
◆ fire()
|
inlineoverrideprotectedvirtual |
Implements AsyncCall.
Definition at line 352 of file CommCalls.h.
◆ getDialer()
|
inlineoverridevirtual |
Implements AsyncCall.
Definition at line 295 of file CommCalls.h.
References CommCbFunPtrCallT< Dialer >::dialer.
◆ 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().
◆ operator=()
|
private |
◆ 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(), AsyncCall::cancel(), JobWaitBase::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(), AsyncCall::cancel(), JobWaitBase::cancel(), BodyProducerDialer::canDial(), BodyConsumerDialer::canDial(), JobDialer< Job >::dial(), AsyncCall::make(), and ScheduleCall().
◆ dialer
Dialer CommCbFunPtrCallT< Dialer >::dialer |
Definition at line 298 of file CommCalls.h.
Referenced by CommCbFunPtrCallT< Dialer >::getDialer().
◆ 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< Job >::dial(), AsyncCall::make(), and AsyncCall::print().
◆ theNext
|
protectedinherited |
Definition at line 85 of file AsyncCall.h.
Referenced by AsyncCall::~AsyncCall(), AsyncCall::Next(), and AsyncCall::setNext().
The documentation for this class was generated from the following file:
- src/CommCalls.h