a connection opening attempt in progress (or falsy) More...

Collaboration diagram for HappyConnOpener::Attempt:

Public Member Functions

 operator bool () const
 
void finish ()
 reacts to a natural attempt completion (successful or otherwise) More...
 
void cancel (const char *reason)
 aborts an in-progress attempt More...
 

Public Attributes

PeerConnectionPointer path
 the destination we are connecting to More...
 
AsyncCall::Pointer connector
 our opener callback More...
 
Comm::ConnOpener::Pointer opener
 connects to path and calls us More...
 

Private Member Functions

void clear ()
 cleans up after the attempt ends (successfully or otherwise) More...
 

Detailed Description

Definition at line 157 of file HappyConnOpener.h.

Member Function Documentation

◆ cancel()

void HappyConnOpener::Attempt::cancel ( const char *  reason)

Definition at line 885 of file HappyConnOpener.cc.

References CallJobHere, AsyncCall::cancel(), clear(), connector, and opener.

Referenced by HappyConnOpener::cancelAttempt().

◆ clear()

void HappyConnOpener::Attempt::clear ( )
inlineprivate

Definition at line 173 of file HappyConnOpener.h.

References connector, opener, and path.

Referenced by cancel(), and finish().

◆ finish()

void HappyConnOpener::Attempt::finish ( )
inline

Definition at line 162 of file HappyConnOpener.h.

References clear().

Referenced by HappyConnOpener::connectDone().

◆ operator bool()

HappyConnOpener::Attempt::operator bool ( ) const
inlineexplicit

Definition at line 159 of file HappyConnOpener.h.

References path.

Member Data Documentation

◆ connector

◆ opener

Comm::ConnOpener::Pointer HappyConnOpener::Attempt::opener

Definition at line 169 of file HappyConnOpener.h.

Referenced by cancel(), clear(), and HappyConnOpener::openFreshConnection().

◆ path


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors