#include <DelayId.h>
![Collaboration graph](classDelayId__coll__graph.png)
Public Member Functions | |
DelayId () | |
DelayId (unsigned short) | |
~DelayId () | |
unsigned short | pool () const |
DelayIdComposite::Pointer | compositePosition () |
const DelayIdComposite::Pointer | compositePosition () const |
void | compositePosition (const DelayIdComposite::Pointer &) |
bool | operator== (DelayId const &rhs) const |
operator bool () const | |
int | bytesWanted (int min, int max) const |
void | bytesIn (int qty) |
void | setNoDelay (bool const) |
void | delayRead (const AsyncCallPointer &) |
Static Public Member Functions | |
static DelayId | DelayClient (ClientHttpRequest *, HttpReply *reply=nullptr) |
Private Attributes | |
unsigned short | pool_ |
DelayIdComposite::Pointer | compositeId |
bool | markedAsNoDelay |
Detailed Description
Constructor & Destructor Documentation
◆ DelayId() [1/2]
DelayId::DelayId | ( | ) |
Definition at line 28 of file DelayId.cc.
Referenced by DelayClient().
◆ DelayId() [2/2]
DelayId::DelayId | ( | unsigned short | aPool | ) |
Definition at line 31 of file DelayId.cc.
References debugs.
◆ ~DelayId()
DelayId::~DelayId | ( | ) |
Definition at line 37 of file DelayId.cc.
Member Function Documentation
◆ bytesIn()
void DelayId::bytesIn | ( | int | qty | ) |
Definition at line 148 of file DelayId.cc.
References assert, DelayIdComposite::bytesIn(), compositeId, markedAsNoDelay, and pool().
Referenced by Ftp::Client::dataRead(), and HttpStateData::readReply().
◆ bytesWanted()
Definition at line 126 of file DelayId.cc.
References DelayIdComposite::bytesWanted(), compositeId, markedAsNoDelay, and max().
Referenced by store_client::bytesWanted(), and MemObject::mostBytesWanted().
◆ compositePosition() [1/3]
DelayIdComposite::Pointer DelayId::compositePosition | ( | ) |
Referenced by DelayClient().
◆ compositePosition() [2/3]
const DelayIdComposite::Pointer DelayId::compositePosition | ( | ) | const |
◆ compositePosition() [3/3]
void DelayId::compositePosition | ( | const DelayIdComposite::Pointer & | newPosition | ) |
Definition at line 41 of file DelayId.cc.
References compositeId.
◆ DelayClient()
|
static |
Definition at line 68 of file DelayId.cc.
References Acl::Answer::allowed(), assert, HttpRequest::auth_user_request, HttpRequest::client_addr, clientAclChecklistFill(), compositePosition(), Config, DBG_IMPORTANT, debugs, DelayPools::delay_data, SquidConfig::delay_pool_uses_indirect_client, DelayId(), ACLChecklist::fastCheck(), HttpRequest::indirect_client_addr, Ip::Address::isNoAddr(), SquidConfig::onoff, pool(), DelayPools::pools(), ClientHttpRequest::request, ACLFilledChecklist::src_addr, StringToSBuf(), HttpRequest::tag, ACLFilledChecklist::updateReply(), and CompositePoolNode::CompositeSelectionDetails::user.
Referenced by clientReplyContext::createStoreEntry(), clientReplyContext::doGetMoreData(), clientReplyContext::processExpired(), clientReplyContext::sendMoreData(), Ssl::ServerBump::ServerBump(), clientReplyContext::setReplyToStoreEntry(), statClientRequests(), switchToTunnel(), and tunnelStart().
◆ delayRead()
void DelayId::delayRead | ( | const AsyncCallPointer & | aRead | ) |
Definition at line 163 of file DelayId.cc.
References assert, compositeId, and DelayIdComposite::delayRead().
◆ operator bool()
DelayId::operator bool | ( | ) | const |
Definition at line 61 of file DelayId.cc.
References RefCount< C >::getRaw().
◆ operator==()
bool DelayId::operator== | ( | DelayId const & | rhs | ) | const |
Definition at line 53 of file DelayId.cc.
References compositeId, and pool_.
◆ pool()
unsigned short DelayId::pool | ( | ) | const |
Definition at line 47 of file DelayId.cc.
References pool_.
Referenced by bytesIn(), and DelayClient().
◆ setNoDelay()
void DelayId::setNoDelay | ( | bool const | newValue | ) |
Definition at line 116 of file DelayId.cc.
References markedAsNoDelay.
Member Data Documentation
◆ compositeId
|
private |
Definition at line 42 of file DelayId.h.
Referenced by bytesIn(), bytesWanted(), compositePosition(), delayRead(), and operator==().
◆ markedAsNoDelay
|
private |
Definition at line 43 of file DelayId.h.
Referenced by bytesIn(), bytesWanted(), and setNoDelay().
◆ pool_
|
private |
Definition at line 41 of file DelayId.h.
Referenced by operator==(), and pool().
The documentation for this class was generated from the following files:
- src/DelayId.h
- src/DelayId.cc
- src/tests/stub_DelayId.cc
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