store_client::Callback Struct Reference

#include <StoreClient.h>

Collaboration diagram for store_client::Callback:

Public Member Functions

 Callback ()=default
 Callback (STCB *, void *)
bool pending () const

Public Attributes

STCBcallback_handler = nullptr
 where to deliver the answer More...
CallbackData cbData
 the first STCB callback parameter More...
CodeContextPointer codeContext
 Store client context. More...
AsyncCall::Pointer notifier
 a scheduled asynchronous finishCallback() call (or nil) More...

Detailed Description

Definition at line 195 of file StoreClient.h.

Constructor & Destructor Documentation

◆ Callback() [1/2]

store_client::Callback::Callback ( )

◆ Callback() [2/2]

store_client::Callback::Callback ( STCB function,
void *  data 

Definition at line 1073 of file

Member Function Documentation

◆ pending()

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 1068 of file

References callback_handler, and notifier.

Referenced by store_client::copy(), store_client::doCopy(), store_client::dumpStats(), store_client::fileRead(), store_client::noteNews(), store_client::noteSwapInDone(), store_client::readBody(), and store_client::readHeader().

Member Data Documentation

◆ callback_handler

STCB* store_client::Callback::callback_handler = nullptr

Definition at line 205 of file StoreClient.h.

Referenced by store_client::finishCallback(), store_client::noteNews(), and pending().

◆ cbData

CallbackData store_client::Callback::cbData

Definition at line 206 of file StoreClient.h.

Referenced by store_client::finishCallback().

◆ codeContext

CodeContextPointer store_client::Callback::codeContext

Definition at line 207 of file StoreClient.h.

◆ notifier

AsyncCall::Pointer store_client::Callback::notifier

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






Web Site Translations