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

Definition at line 47 of file AsyncCall.h.

Constructor & Destructor Documentation

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

Definition at line 26 of file Initiate.cc.

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

Definition at line 32 of file Initiate.cc.

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

Member Function Documentation

bool AsyncCall::canceled ( )
inlineinherited

Definition at line 58 of file AsyncCall.h.

References AsyncCall::isCanceled, and NULL.

Referenced by Downloader::doneAll().

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

Reimplemented from AsyncCall.

Definition at line 141 of file AsyncCall.h.

References AsyncCall::canFire(), and AsyncCallT< Dialer >::dialer.

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

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

Reimplemented from AsyncCallT< AnswerDialer >.

Definition at line 28 of file Initiate.cc.

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

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

Implements AsyncCall.

Definition at line 138 of file AsyncCall.h.

References AsyncCallT< Dialer >::dialer.

void AsyncCall::make ( )
inherited
AsyncCall::Pointer& AsyncCall::Next ( )
inlineinherited

Definition at line 71 of file AsyncCall.h.

References AsyncCall::theNext.

Referenced by AsyncCall::dequeue().

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 operator<<().

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

AnswerDialer AsyncCallT< AnswerDialer >::dialer
protectedinherited

Definition at line 147 of file AsyncCall.h.

Referenced by ~AnswerCall().

bool Adaptation::AnswerCall::fired
private

Definition at line 38 of file Initiate.cc.

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

const InstanceId<AsyncCall> AsyncCall::id
inherited

Definition at line 79 of file AsyncCall.h.

const char* const AsyncCall::name
inherited
AsyncCall::Pointer AsyncCall::theNext
protectedinherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors