#include <AsyncCallbacks.h>
Public Types | |
using | Base = UnaryMemFunT< Job, Argument1, Argument1 & > |
typedef void(Job::* | Method) (Argument1 &) |
typedef Job | DestClass |
typedef CbcPointer< Job > | JobPointer |
using | Answer = Argument1 |
Public Member Functions | |
UnaryJobCallbackDialer (const CbcPointer< Job > &aJob, typename Base::Method aMethod) | |
Argument1 & | answer () final |
callback results setter More... | |
void | print (std::ostream &os) const override |
virtual bool | canDial (AsyncCall &call) |
void | dial (AsyncCall &call) |
Public Attributes | |
Method | method |
Argument1 | arg1 |
JobPointer | job |
Protected Member Functions | |
void | doDial () override |
Detailed Description
template<class Job, typename Argument1>
class UnaryJobCallbackDialer< Job, Argument1 >
CallDialer for single-parameter callback methods of AsyncJob classes.
- See also
- UnaryCbcCallbackDialer and UnaryFunCallbackDialer.
Definition at line 134 of file AsyncCallbacks.h.
Member Typedef Documentation
◆ Answer
|
inherited |
Definition at line 21 of file AsyncCallbacks.h.
◆ Base
using UnaryJobCallbackDialer< Job, Argument1 >::Base = UnaryMemFunT<Job, Argument1, Argument1&> |
Definition at line 139 of file AsyncCallbacks.h.
◆ DestClass
Definition at line 29 of file AsyncJobCalls.h.
◆ JobPointer
|
inherited |
Definition at line 30 of file AsyncJobCalls.h.
◆ Method
|
inherited |
Definition at line 111 of file AsyncJobCalls.h.
Constructor & Destructor Documentation
◆ UnaryJobCallbackDialer()
|
inline |
Definition at line 141 of file AsyncCallbacks.h.
Member Function Documentation
◆ answer()
|
inlinefinalvirtual |
Implements WithAnswer< Argument1 >.
Definition at line 145 of file AsyncCallbacks.h.
References UnaryMemFunT< Job, Argument1, Argument1 & >::arg1.
◆ canDial()
Reimplemented in BodyConsumerDialer, BodyProducerDialer, and CommCbMemFunT< C, Params_ >.
Definition at line 161 of file AsyncJobCalls.h.
Referenced by CommCbMemFunT< C, Params_ >::canDial().
◆ dial()
Definition at line 171 of file AsyncJobCalls.h.
◆ doDial()
|
inlineoverrideprotectedvirtualinherited |
Implements JobDialer< Job >.
Definition at line 123 of file AsyncJobCalls.h.
◆ print()
|
inlineoverridevirtualinherited |
Implements CallDialer.
Definition at line 116 of file AsyncJobCalls.h.
Member Data Documentation
◆ arg1
|
inherited |
Definition at line 120 of file AsyncJobCalls.h.
◆ job
|
inherited |
Definition at line 38 of file AsyncJobCalls.h.
Referenced by NullaryMemFunT< ModXact >::doDial(), and UnaryMemFunT< BodyConsumer, BodyPipe::Pointer >::doDial().
◆ method
|
inherited |
Definition at line 119 of file AsyncJobCalls.h.
The documentation for this class was generated from the following file:
- src/base/AsyncCallbacks.h
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