ClientInfo.h
Go to the documentation of this file.
103 void setWriteLimiter(const int aWriteSpeedLimit, const double anInitialBurst, const double aHighWatermark);
virtual bool applyQuota(int &nleft, Comm::IoCallback *state) override
Definition: comm.cc:1308
unsigned int enqueue(int fd)
places the given fd at the end of the queue; returns reservation ID
Definition: comm.cc:1385
struct ClientInfo::Protocol Icp
void setWriteLimiter(const int aWriteSpeedLimit, const double anInitialBurst, const double aHighWatermark)
Definition: comm.cc:1348
Definition: ClientInfo.h:43
virtual void onFdClosed() override
Performs cleanup when the related file descriptor becomes closed.
Definition: comm.cc:1331
struct ClientInfo::Protocol Http
MEMPROXY_CLASS(ClientInfo)
virtual void scheduleWrite(Comm::IoCallback *state) override
Will plan another write call.
Definition: comm.cc:1322
unsigned int quotaEnqueue(int fd)
client starts waiting in queue; create the queue if necessary
Definition: comm.cc:1249
void writeOrDequeue()
either selects the head descriptor for writing or calls quotaDequeue()
Definition: comm.cc:1196
Definition: ClientInfo.h:110
Definition: SquidConfig.h:60
Definition: ClientInfo.h:34
struct ClientInfo::Cutoff cutoff
Definition: ClientInfo.h:55
Definition: Address.h:41