#include "base/AsyncCallbacks.h"
#include "base/JobWait.h"
#include "base/RefCount.h"
#include "comm.h"
#include "comm/Connection.h"
#include "comm/ConnOpener.h"
#include "errorpage.h"
#include "http/forward.h"
#include "log/forward.h"
#include "ResolvedPeers.h"
#include <iosfwd>
Include dependency graph for HappyConnOpener.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
class | HappySpareWait |
keeps track of HappyConnOpener spare track waiting state More... | |
class | HappyConnOpenerAnswer |
Final result (an open connection or an error) sent to the job initiator. More... | |
class | HappyConnOpener |
class | HappyConnOpener::Attempt |
a connection opening attempt in progress (or falsy) More... | |
Typedefs | |
typedef RefCount< ResolvedPeers > | ResolvedPeersPointer |
typedef std::list< CbcPointer< HappyConnOpener > > | HappySpareWaitList |
A FIFO queue of HappyConnOpener jobs waiting to open a spare connection. More... | |
typedef double | HappyAbsoluteTime |
absolute time in fractional seconds; compatible with current_timed More... | |
Functions | |
std::ostream & | operator<< (std::ostream &, const HappyConnOpenerAnswer &) |
reports Answer details (for AsyncCall parameter debugging) More... | |
Typedef Documentation
◆ HappyAbsoluteTime
typedef double HappyAbsoluteTime |
Definition at line 33 of file HappyConnOpener.h.
◆ HappySpareWaitList
typedef std::list< CbcPointer<HappyConnOpener> > HappySpareWaitList |
Definition at line 30 of file HappyConnOpener.h.
◆ ResolvedPeersPointer
typedef RefCount<ResolvedPeers> ResolvedPeersPointer |
Definition at line 27 of file HappyConnOpener.h.
Function Documentation
◆ operator<<()
std::ostream & operator<< | ( | std::ostream & | os, |
const HappyConnOpenerAnswer & | answer | ||
) |
Definition at line 86 of file HappyConnOpener.cc.
References HappyConnOpenerAnswer::conn, HappyConnOpenerAnswer::error, HappyConnOpenerAnswer::n_tries, HappyConnOpenerAnswer::reused, and CbcPointer< Cbc >::set().