#include <forward.h>
![Inheritance graph](classJobWait__inherit__graph.png)
![Collaboration graph](classJobWait__coll__graph.png)
Public Types | |
typedef CbcPointer< Job > | JobPointer |
Public Member Functions | |
void | start (const JobPointer &aJob, const AsyncCall::Pointer &aCallback) |
starts waiting for the given job to call the given callback More... | |
JobPointer | job () const |
Private Attributes | |
JobPointer | typedJob_ |
nearly duplicates JobWaitBase::job_ but exposes the actual job type More... | |
Detailed Description
template<class Job>
class JobWait< Job >
Manages waiting for an AsyncJob callback. Completes JobWaitBase by providing Job type-specific members.
Member Typedef Documentation
◆ JobPointer
typedef CbcPointer<Job> JobWait< Job >::JobPointer |
Member Function Documentation
◆ job()
|
inline |
- Returns
- a cbdata pointer to the job we are waiting for (or nil) the returned pointer may be falsy, even if we are still waiting()
Definition at line 76 of file JobWait.h.
Referenced by FwdState::notifyConnOpener(), and TunnelStateData::notifyConnOpener().
◆ start()
|
inline |
Definition at line 69 of file JobWait.h.
Referenced by FwdState::connectStart(), FwdState::establishTunnelThruProxy(), TunnelStateData::establishTunnelThruProxy(), PeerPoolMgr::handleOpenedConnection(), HappyConnOpener::openFreshConnection(), PeerPoolMgr::openNewConnection(), FwdState::secureConnectionToPeer(), TunnelStateData::secureConnectionToPeer(), and TunnelStateData::startConnecting().
Member Data Documentation
◆ typedJob_
|
private |
Definition at line 80 of file JobWait.h.
Referenced by JobWait< Comm::ConnOpener >::job(), and JobWait< Comm::ConnOpener >::start().
The documentation for this class was generated from the following files:
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products