#include <DelayId.h>

Collaboration diagram for DelayId:

Public Member Functions

 DelayId ()
 DelayId (unsigned short)
 ~DelayId ()
unsigned short pool () const
DelayIdComposite::Pointer compositePosition ()
DelayIdComposite::Pointer const compositePosition () const
void compositePosition (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

Definition at line 21 of file DelayId.h.

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)

◆ bytesWanted()

int DelayId::bytesWanted ( int  min,
int  max 
) const

◆ compositePosition() [1/3]

DelayIdComposite::Pointer DelayId::compositePosition ( )

Referenced by DelayClient().

◆ compositePosition() [2/3]

DelayIdComposite::Pointer const DelayId::compositePosition ( ) const

◆ compositePosition() [3/3]

void DelayId::compositePosition ( DelayIdComposite::Pointer  newPosition)

Definition at line 41 of file DelayId.cc.

References compositeId.

◆ DelayClient()

◆ delayRead()

void DelayId::delayRead ( const AsyncCallPointer aRead)

Definition at line 166 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 119 of file DelayId.cc.

References markedAsNoDelay.

Member Data Documentation

◆ compositeId

DelayIdComposite::Pointer DelayId::compositeId

Definition at line 42 of file DelayId.h.

Referenced by bytesIn(), bytesWanted(), compositePosition(), delayRead(), and operator==().

◆ markedAsNoDelay

bool DelayId::markedAsNoDelay

Definition at line 43 of file DelayId.h.

Referenced by bytesIn(), bytesWanted(), and setNoDelay().

◆ pool_

unsigned short DelayId::pool_

Definition at line 41 of file DelayId.h.

Referenced by operator==(), and pool().

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






Web Site Translations