ASSA::SIGPOLLHandler Class Reference

Class SIGPOLLHandler handles SIGPOLL signal. More...

#include <Handlers.h>

Inheritance diagram for ASSA::SIGPOLLHandler:

Inheritance graph
[legend]
Collaboration diagram for ASSA::SIGPOLLHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SIGPOLLHandler ()
 Constructor.
int handle_signal (int signum_)
 Catch and absorb SIGPOLL signal.

Detailed Description

Class SIGPOLLHandler handles SIGPOLL signal.

SIGPOLLHandler Implementations of dummy handler to *swallow* SIGPOLL caused sometimes by select(3) being called on false socket file descriptor.

NOTE: FreeBSD uses SIGIO instead.

Definition at line 261 of file Handlers.h.


Constructor & Destructor Documentation

ASSA::SIGPOLLHandler::SIGPOLLHandler  )  [inline]
 

Constructor.

Definition at line 266 of file Handlers.h.

References ASSA::SIGHAND, and trace_with_mask.

00266                       {
00267         trace_with_mask("SIGPOLLHandler", SIGHAND);
00268     }


Member Function Documentation

int ASSA::SIGPOLLHandler::handle_signal int  signum_  )  [inline, virtual]
 

Catch and absorb SIGPOLL signal.

Reimplemented from ASSA::EventHandler.

Definition at line 271 of file Handlers.h.

References ASSAIOSIG, ASSA::SIGHAND, and trace_with_mask.

00271                                       { 
00272         trace_with_mask("SIGPOLLHandler::handle_signal", SIGHAND);
00273             
00274         return (signum_ == ASSAIOSIG) ? 0 : -1; 
00275     }


The documentation for this class was generated from the following file:
Generated on Sun Aug 13 15:08:20 2006 for libassa by  doxygen 1.4.6