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

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

◆ canFire()

virtual bool AsyncCallT< AnswerDialer >::canFire ( )
inlineprotectedvirtualinherited

Reimplemented from AsyncCall.

Definition at line 141 of file AsyncCall.h.

References AsyncCall::canFire().

◆ dequeue()

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

Definition at line 80 of file AsyncCall.cc.

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

Referenced by AsyncCall::canceled().

◆ 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 71 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

◆ print()

void AsyncCall::print ( std::ostream &  os)
inherited
Todo:
make this method const by providing a const getDialer()

Definition at line 70 of file AsyncCall.cc.

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

Referenced by AsyncCall::canceled(), operator<<(), and CallDialer::~CallDialer().

◆ setNext()

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

Definition at line 67 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

Member Data Documentation

◆ debugLevel

◆ debugSection

◆ dialer

AnswerDialer AsyncCallT< AnswerDialer >::dialer
protectedinherited

Definition at line 147 of file AsyncCall.h.

Referenced by ~AnswerCall().

◆ fired

bool Adaptation::AnswerCall::fired
private

Definition at line 38 of file Initiate.cc.

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

◆ id

const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 79 of file AsyncCall.h.

Referenced by Comm::ConnOpener::sendAnswer().

◆ 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