Squid Web Cache master
Loading...
Searching...
No Matches
Adaptation::Ecap::Engine Class Reference

manages async eCAP transactions More...

Inheritance diagram for Adaptation::Ecap::Engine:
[legend]
Collaboration diagram for Adaptation::Ecap::Engine:
[legend]

Public Types

enum  CheckError { EVENT_IDLE = -1 , EVENT_ERROR = -2 }
 

Public Member Functions

int checkEvents (int timeout) override
 

Private Member Functions

void kickAsyncServices (timeval &timeout)
 resumes async transactions (if any) and returns true if they set a timeout
 

Detailed Description

Definition at line 67 of file ServiceRep.cc.

Member Enumeration Documentation

◆ CheckError

enum AsyncEngine::CheckError
inherited
Enumerator
EVENT_IDLE 
EVENT_ERROR 

Definition at line 26 of file AsyncEngine.h.

Member Function Documentation

◆ checkEvents()

int Adaptation::Ecap::Engine::checkEvents ( int  timeout)
overridevirtual

Implements AsyncEngine.

Definition at line 117 of file ServiceRep.cc.

References debugs, and EVENT_LOOP_TIMEOUT.

◆ kickAsyncServices()

void Adaptation::Ecap::Engine::kickAsyncServices ( timeval &  timeout)
private

Definition at line 141 of file ServiceRep.cc.

References assert, AsyncServices, and debugs.


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