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