enforces happy_eyeballs_connect_timeout More...

Inheritance diagram for PrimeChanceGiver:
Collaboration diagram for PrimeChanceGiver:

Public Member Functions

 PrimeChanceGiver ()
 
virtual bool readyNow (const HappyConnOpener &job) const override
 
void checkpoint ()
 resumes jobs that need resuming (if any) More...
 
void enqueue (HappyConnOpener &)
 starts managing the job's wait; the job should expect a call back More...
 
void dequeue (HappyConnOpener &)
 stops managing the job's wait; cancels the pending callback, if any More...
 

Public Attributes

const char *const name
 waiting event name, for debugging More...
 

Protected Member Functions

bool waiting () const
 
bool startedWaiting (const HappyAbsoluteTime lastStart, const int cfgTimeoutMsec) const
 

Private Member Functions

virtual AsyncCall::Pointer notify (const CbcPointer< HappyConnOpener > &) override
 
void noteWaitOver ()
 

Static Private Member Functions

static void NoteWaitOver (void *raw)
 

Private Attributes

HappySpareWaitList jobs_
 queued jobs waiting their turn More...
 
HappyAbsoluteTime waitEnd_ = 0
 expected NoteWaitOver() call time (or zero) More...
 

Detailed Description

Definition at line 96 of file HappyConnOpener.cc.

Constructor & Destructor Documentation

◆ PrimeChanceGiver()

PrimeChanceGiver::PrimeChanceGiver ( )
inline

Definition at line 99 of file HappyConnOpener.cc.

Member Function Documentation

◆ checkpoint()

void HappyOrderEnforcer::checkpoint ( )
inherited

◆ dequeue()

◆ enqueue()

◆ noteWaitOver()

void HappyOrderEnforcer::noteWaitOver ( )
privateinherited

◆ NoteWaitOver()

void HappyOrderEnforcer::NoteWaitOver ( void *  raw)
staticprivateinherited

Definition at line 215 of file HappyConnOpener.cc.

References assert, and HappyOrderEnforcer::noteWaitOver().

Referenced by HappyOrderEnforcer::startedWaiting().

◆ notify()

AsyncCall::Pointer PrimeChanceGiver::notify ( const CbcPointer< HappyConnOpener > &  job)
overrideprivatevirtual

Implements HappyOrderEnforcer.

Definition at line 238 of file HappyConnOpener.cc.

References CallJobHere.

◆ readyNow()

bool PrimeChanceGiver::readyNow ( const HappyConnOpener job) const
overridevirtual

◆ startedWaiting()

bool HappyOrderEnforcer::startedWaiting ( const HappyAbsoluteTime  lastStart,
const int  cfgTimeoutMsec 
) const
protectedinherited

◆ waiting()

bool HappyOrderEnforcer::waiting ( ) const
inlineprotectedinherited

Member Data Documentation

◆ jobs_

HappySpareWaitList HappyOrderEnforcer::jobs_
privateinherited

◆ name

const char* const HappyOrderEnforcer::name
inherited

Definition at line 67 of file HappyConnOpener.cc.

Referenced by HappyOrderEnforcer::startedWaiting().

◆ waitEnd_

HappyAbsoluteTime HappyOrderEnforcer::waitEnd_ = 0
mutableprivateinherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors