#include <CommIO.h>

Collaboration diagram for CommIO:

Static Public Member Functions

static void NotifyIOCompleted ()
 
static void ResetNotifications ()
 
static void Initialize ()
 
static void NotifyIOClose ()
 

Static Private Member Functions

static void NULLFDHandler (int, void *)
 
static void FlushPipe ()
 

Static Private Attributes

static bool Initialized = false
 
static bool DoneSignalled = false
 
static int DoneFD = -1
 
static int DoneReadFD = -1
 

Detailed Description

Definition at line 16 of file CommIO.h.

Member Function Documentation

void CommIO::FlushPipe ( )
staticprivate

Definition at line 55 of file CommIO.cc.

References buf, DoneReadFD, and FD_READ_METHOD.

Referenced by NotifyIOClose(), NULLFDHandler(), and ResetNotifications().

void CommIO::Initialize ( )
static
void CommIO::NotifyIOClose ( )
static

Definition at line 38 of file CommIO.cc.

References DoneFD, DoneReadFD, fd_close(), FlushPipe(), and Initialized.

Referenced by squidaio_shutdown().

void CommIO::NotifyIOCompleted ( )
inlinestatic

Definition at line 36 of file CommIO.h.

References DoneFD, DoneSignalled, fatalf(), FD_WRITE_METHOD, and Initialized.

Referenced by squidaio_thread_loop().

void CommIO::NULLFDHandler ( int  fd,
void *   
)
staticprivate

Definition at line 62 of file CommIO.cc.

References COMM_SELECT_READ, FlushPipe(), NULL, and Comm::SetSelect().

Referenced by Initialize().

void CommIO::ResetNotifications ( )
static

Definition at line 69 of file CommIO.cc.

References DoneSignalled, and FlushPipe().

Referenced by squidaio_poll_done().

Member Data Documentation

int CommIO::DoneFD = -1
staticprivate

Definition at line 30 of file CommIO.h.

Referenced by Initialize(), NotifyIOClose(), and NotifyIOCompleted().

int CommIO::DoneReadFD = -1
staticprivate

Definition at line 31 of file CommIO.h.

Referenced by FlushPipe(), Initialize(), and NotifyIOClose().

bool CommIO::DoneSignalled = false
staticprivate

Definition at line 29 of file CommIO.h.

Referenced by NotifyIOCompleted(), and ResetNotifications().

bool CommIO::Initialized = false
staticprivate

Definition at line 28 of file CommIO.h.

Referenced by Initialize(), NotifyIOClose(), and NotifyIOCompleted().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors