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

Public Types

typedef RefCount< AsyncCallPointer
 

Public Member Functions

 AnswerCall (const char *aName, const AnswerDialer &aDialer)
 
virtual void fire ()
 
virtual ~AnswerCall ()
 
CallDialergetDialer ()
 
void make ()
 
bool cancel (const char *reason)
 
bool canceled ()
 
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

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

virtual bool canFire ()
 

Protected Attributes

AnswerDialer dialer
 
AsyncCall::Pointer theNext
 

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

◆ 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()

virtual Adaptation::AnswerCall::~AnswerCall ( )
inlinevirtual

Definition at line 32 of file Initiate.cc.

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

Member Function Documentation

◆ cancel()

◆ canceled()

bool AsyncCall::canceled ( )
inlineinherited

◆ canFire()

virtual bool AsyncCallT< AnswerDialer >::canFire
inlineprotectedvirtualinherited

Reimplemented from AsyncCall.

Definition at line 141 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(), NULL, and AsyncCall::setNext().

◆ fire()

virtual void Adaptation::AnswerCall::fire ( )
inlinevirtual

Reimplemented from AsyncCallT< AnswerDialer >.

Definition at line 28 of file Initiate.cc.

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

◆ getDialer()

CallDialer* AsyncCallT< AnswerDialer >::getDialer
inlinevirtualinherited

Implements AsyncCall.

Definition at line 138 of file AsyncCall.h.

◆ make()

void AsyncCall::make ( )
inherited

◆ Next()

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

Definition at line 67 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

◆ 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

Definition at line 63 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

Member Data Documentation

◆ codeContext

CodeContext::Pointer AsyncCall::codeContext
inherited

Definition at line 75 of file AsyncCall.h.

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

◆ debugLevel

◆ debugSection

◆ dialer

AnswerDialer AsyncCallT< AnswerDialer >::dialer
protectedinherited

Definition at line 147 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 79 of file AsyncCall.h.

Referenced by HappyConnOpener::status().

◆ isCanceled

const char* AsyncCall::isCanceled
privateinherited

◆ name

const char* const AsyncCall::name
inherited

◆ theNext

AsyncCall::Pointer AsyncCall::theNext
protectedinherited

The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors