store_client::Callback Struct Reference

#include <StoreClient.h>

Collaboration diagram for store_client::Callback:

Public Member Functions

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

Public Attributes

STCBcallback_handler
 
void * callback_data
 
CodeContextPointer codeContext
 Store client context. More...
 
AsyncCall::Pointer notifier
 a scheduled asynchronous finishCallback() call (or nil) More...
 

Detailed Description

Definition at line 157 of file StoreClient.h.

Constructor & Destructor Documentation

◆ Callback() [1/2]

store_client::Callback::Callback ( )
inline

Definition at line 158 of file StoreClient.h.

◆ Callback() [2/2]

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

Definition at line 938 of file store_client.cc.

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 933 of file store_client.cc.

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_data

void* store_client::Callback::callback_data

Definition at line 168 of file StoreClient.h.

Referenced by store_client::dumpStats(), and store_client::finishCallback().

◆ callback_handler

STCB* store_client::Callback::callback_handler

Definition at line 167 of file StoreClient.h.

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

◆ codeContext

CodeContextPointer store_client::Callback::codeContext

Definition at line 169 of file StoreClient.h.

◆ notifier

AsyncCall::Pointer store_client::Callback::notifier

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors