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,
PendingOpenRequest
SharedListenRequestMap
 maps ID assigned at request time to the response callback More...
 
typedef std::list
< PendingOpenRequest
DelayedSharedListenRequests
 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

Definition at line 40 of file SharedListen.cc.

Definition at line 36 of file SharedListen.cc.

Function Documentation

static int AddToMap ( const PendingOpenRequest por)
static

Definition at line 44 of file SharedListen.cc.

References assert, and TheSharedListenRequestMap.

Referenced by SendSharedListenRequest().

static void kickDelayedRequest ( )
static

Variable Documentation

DelayedSharedListenRequests TheDelayedRequests
static
SharedListenRequestMap TheSharedListenRequestMap
static

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors