|
Squid Web Cache master
|
#include <StoreClient.h>
Public Member Functions | |
| Callback ()=default | |
| Callback (STCB *, void *) | |
| bool | pending () const |
Public Attributes | |
| STCB * | callback_handler = nullptr |
| where to deliver the answer | |
| CallbackData | cbData |
| the first STCB callback parameter | |
| CodeContextPointer | codeContext |
| Store client context. | |
| AsyncCall::Pointer | notifier |
| a scheduled asynchronous finishCallback() call (or nil) | |
Definition at line 200 of file StoreClient.h.
|
default |
| store_client::Callback::Callback | ( | STCB * | function, |
| void * | data | ||
| ) |
Definition at line 1083 of file store_client.cc.
| bool store_client::Callback::pending | ( | ) | const |
Whether the copy() answer is needed/expected (by the client) and has not been computed (by us). False during (asynchronous) answer delivery to the STCB callback_handler.
Definition at line 1078 of file store_client.cc.
References callback_handler, and notifier.
Referenced by store_client::copy(), store_client::doCopy(), store_client::dumpStats(), store_client::fileRead(), StoreEntry::invokeHandlers(), store_client::noteNews(), store_client::noteSwapInDone(), store_client::readBody(), store_client::readHeader(), storeClientCopy2(), and storeSwapInFileClosed().
| STCB* store_client::Callback::callback_handler = nullptr |
Definition at line 210 of file StoreClient.h.
Referenced by store_client::finishCallback(), store_client::noteNews(), pending(), and storeUnregister().
| CallbackData store_client::Callback::cbData |
Definition at line 211 of file StoreClient.h.
Referenced by store_client::finishCallback().
| CodeContextPointer store_client::Callback::codeContext |
Definition at line 212 of file StoreClient.h.
Referenced by StoreEntry::invokeHandlers().
| AsyncCall::Pointer store_client::Callback::notifier |
Definition at line 215 of file StoreClient.h.
Referenced by store_client::dumpStats(), store_client::finishCallback(), store_client::noteNews(), pending(), and storeUnregister().