Package circuits :: Package lib :: Module pollers :: Class EPoll

Class EPoll

    object --+            
             |            
  core.Manager --+        
                 |        
core.BaseComponent --+    
                     |    
               _Poller --+
                         |
                        EPoll

EPoll(...) -> new EPoll Poller Component

Creates a new EPoll Poller Component that uses the epoll poller implementation.

Instance Methods
new EPoll Poller Component
__init__(...)
initializes x; see x.__class__.__doc__ for signature
 
addReader(self, fd)
 
addWriter(self, fd)
 
discard(self, fd)
 
poll(self)
 
removeReader(self, fd)
 
removeWriter(self, fd)
 
started(self, component, mode)

Inherited from _Poller: __tick__, isReading, isWriting

Inherited from core.BaseComponent: __call__, __repr__, register, unregister

Inherited from core.Manager: __add__, __iadd__, __isub__, __len__, __sub__, flush, push, run, send, start, stop

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.BaseComponent: __new__

Class Variables

Inherited from _Poller: channel

Instance Variables

Inherited from core.Manager: manager

Properties

Inherited from core.Manager: channels, components, running, state, ticks

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Returns: new EPoll Poller Component
Overrides: object.__init__
(inherited documentation)

addReader(self, fd)

 
Overrides: _Poller.addReader

addWriter(self, fd)

 
Overrides: _Poller.addWriter

discard(self, fd)

 
Overrides: _Poller.discard

poll(self)

 
Overrides: _Poller.poll

removeReader(self, fd)

 
Overrides: _Poller.removeReader

removeWriter(self, fd)

 
Overrides: _Poller.removeWriter