Inheritance diagram for Adaptation::AnswerCall:
Collaboration diagram for Adaptation::AnswerCall:

Public Types

using Dialer = AnswerDialer
 
using Pointer = AsyncCallPointer
 

Public Member Functions

 AnswerCall (const char *aName, const AnswerDialer &aDialer)
 
void fire () override
 
 ~AnswerCall () override
 
CallDialergetDialer () 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::PointerNext ()
 

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< AsyncCallid
 

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

using AsyncCallT< AnswerDialer >::Dialer = AnswerDialer
inherited

Definition at line 127 of file AsyncCall.h.

◆ Pointer

Definition at line 43 of file AsyncCall.h.

Constructor & Destructor Documentation

◆ AnswerCall()

Adaptation::AnswerCall::AnswerCall ( const char *  aName,
const AnswerDialer aDialer 
)
inline

Definition at line 26 of file Initiate.cc.

◆ ~AnswerCall()

Adaptation::AnswerCall::~AnswerCall ( )
inlineoverride

Definition at line 32 of file Initiate.cc.

References AsyncCallT< AnswerDialer >::dialer, and fired.

Member Function Documentation

◆ cancel()

◆ canceled()

bool AsyncCall::canceled ( ) const
inlineinherited

Definition at line 53 of file AsyncCall.h.

References AsyncCall::isCanceled.

Referenced by commCallCloseHandlers().

◆ canFire()

bool AsyncCallT< AnswerDialer >::canFire ( )
inlineoverrideprotectedvirtualinherited

Reimplemented from AsyncCall.

Definition at line 144 of file AsyncCall.h.

◆ dequeue()

void AsyncCall::dequeue ( AsyncCall::Pointer head,
AsyncCall::Pointer prev 
)
inherited

Definition at line 84 of file AsyncCall.cc.

References head, AsyncCall::Next(), and AsyncCall::setNext().

Referenced by comm_remove_close_handler().

◆ fire()

void Adaptation::AnswerCall::fire ( )
inlineoverridevirtual

Implements AsyncCall.

Definition at line 28 of file Initiate.cc.

References AsyncCallT< DialerClass >::fire(), and fired.

◆ getDialer()

CallDialer * AsyncCallT< AnswerDialer >::getDialer ( )
inlineoverridevirtualinherited

Implements AsyncCall.

Definition at line 139 of file AsyncCall.h.

◆ make()

void AsyncCall::make ( )
inherited

◆ Next()

AsyncCall::Pointer & AsyncCall::Next ( )
inlineinherited

◆ print()

void AsyncCall::print ( std::ostream &  os)
inherited

Definition at line 74 of file AsyncCall.cc.

References AsyncCall::getDialer(), and AsyncCall::name.

Referenced by operator<<().

◆ setNext()

void AsyncCall::setNext ( AsyncCall::Pointer  aNext)
inlineinherited

Member Data Documentation

◆ codeContext

CodeContext::Pointer AsyncCall::codeContext
inherited

Definition at line 74 of file AsyncCall.h.

Referenced by CallSubscription< Call_ >::callback(), and ScheduleCall().

◆ debugLevel

◆ debugSection

◆ dialer

Dialer AsyncCallT< AnswerDialer >::dialer
inherited

Definition at line 141 of file AsyncCall.h.

◆ fired

bool Adaptation::AnswerCall::fired
private

Definition at line 38 of file Initiate.cc.

Referenced by ~AnswerCall(), and fire().

◆ id

const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 78 of file AsyncCall.h.

Referenced by JobWaitBase::print(), and ScheduleCall().

◆ isCanceled

const char* AsyncCall::isCanceled
privateinherited

◆ name

const char* const AsyncCall::name
inherited

◆ theNext

AsyncCall::Pointer AsyncCall::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:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors