SharedListen.cc File Reference
#include "squid.h"
#include "base/AsyncCallbacks.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< Ipc::RequestId::Index, 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 Ipc::RequestId::Index 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 41 of file SharedListen.cc.

◆ SharedListenRequestMap

Definition at line 37 of file SharedListen.cc.

Function Documentation

◆ AddToMap()

static Ipc::RequestId::Index AddToMap ( const PendingOpenRequest por)
static

registers the given request in the collection of pending requests

Returns
the registration key

Definition at line 48 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