SharedListen.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "comm.h"
#include "comm/Connection.h"
#include "globals.h"
#include "ipc/Kids.h"
#include "ipc/Messages.h"
#include "ipc/Port.h"
#include "ipc/SharedListen.h"
#include "ipc/StartListening.h"
#include "ipc/TypedMsgHdr.h"
#include "tools.h"
#include <list>
#include <map>
Include dependency graph for SharedListen.cc:

Go to the source code of this file.

Classes

class  PendingOpenRequest
 holds information necessary to handle JoinListen response More...
 

Typedefs

typedef std::map< int, PendingOpenRequestSharedListenRequestMap
 maps ID assigned at request time to the response callback More...
 
typedef std::list< PendingOpenRequestDelayedSharedListenRequests
 accumulates delayed requests until they are ready to be sent, in FIFO order More...
 

Functions

static int AddToMap (const PendingOpenRequest &por)
 
static void SendSharedListenRequest (const PendingOpenRequest &por)
 
static void kickDelayedRequest ()
 

Variables

static SharedListenRequestMap TheSharedListenRequestMap
 
static DelayedSharedListenRequests TheDelayedRequests
 

Typedef Documentation

◆ DelayedSharedListenRequests

Definition at line 40 of file SharedListen.cc.

◆ SharedListenRequestMap

Definition at line 36 of file SharedListen.cc.

Function Documentation

◆ AddToMap()

static int AddToMap ( const PendingOpenRequest por)
static

Definition at line 44 of file SharedListen.cc.

References assert, and TheSharedListenRequestMap.

Referenced by SendSharedListenRequest().

◆ kickDelayedRequest()

static void kickDelayedRequest ( )
static

◆ SendSharedListenRequest()

Variable Documentation

◆ TheDelayedRequests

DelayedSharedListenRequests TheDelayedRequests
static

◆ TheSharedListenRequestMap

SharedListenRequestMap TheSharedListenRequestMap
static

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors