StoreToCommWriter.cc
Go to the documentation of this file.
23Mgr::StoreToCommWriter::StoreToCommWriter(const Comm::ConnectionPointer &conn, StoreEntry* anEntry):
60 AsyncCall::Pointer call = asyncCall(16, 4, "StoreToCommWriter::Abort", cbdataDialer(&StoreToCommWriter::HandleStoreAbort, this));
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156
UnaryCbdataDialer< Argument1 > cbdataDialer(typename UnaryCbdataDialer< Argument1 >::Handler *handler, Argument1 *arg1)
Definition: AsyncCbdataCalls.h:40
Definition: AsyncJob.h:32
Definition: CommCalls.h:166
Definition: CommCalls.h:128
Definition: CommCalls.h:114
Definition: StoreToCommWriter.h:30
static void HandleStoreAbort(StoreToCommWriter *param)
called by Store if the entry is no longer usable
Definition: StoreToCommWriter.cc:166
bool doneAll() const override
whether positive goal has been reached
Definition: StoreToCommWriter.cc:158
void scheduleStoreCopy()
request more action results from the store
Definition: StoreToCommWriter.cc:70
void close()
closes the local connection to the HTTP client, if any
Definition: StoreToCommWriter.cc:43
void noteCommClosed(const CommCloseCbParams ¶ms)
called by Comm if the client socket got closed
Definition: StoreToCommWriter.cc:130
static void NoteStoreCopied(void *data, StoreIOBuffer ioBuf)
Definition: StoreToCommWriter.cc:80
StoreToCommWriter(const Comm::ConnectionPointer &conn, StoreEntry *anEntry)
Definition: StoreToCommWriter.cc:23
~StoreToCommWriter() override
Definition: StoreToCommWriter.cc:33
void noteStoreCopied(StoreIOBuffer ioBuf)
receive some action results from the store
Definition: StoreToCommWriter.cc:93
void noteCommWrote(const CommIoCbParams ¶ms)
called by Comm after the action results are written
Definition: StoreToCommWriter.cc:118
void scheduleCommWrite(const StoreIOBuffer &ioBuf)
tell Comm to write action results
Definition: StoreToCommWriter.cc:104
Definition: Store.h:42
Definition: StoreIOBuffer.h:16
struct StoreIOBuffer::@141 flags
Definition: AsyncJobCalls.h:108
AsyncCall::Pointer comm_add_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:949
void comm_remove_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:978
void Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE *free_func)
Definition: Write.cc:33
int storeUnregister(store_client *sc, StoreEntry *e, void *data)
Definition: store_client.cc:749
void storeClientCopy(store_client *sc, StoreEntry *e, StoreIOBuffer copyInto, STCB *callback, void *data)
Definition: store_client.cc:213
store_client * storeClientListAdd(StoreEntry *e, void *data)
Definition: store_client.cc:123