Package circuits :: Package net :: Module pollers :: Class Poll

Class Poll

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

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

Creates a new Poll Poller Component that uses the poll poller implementation.

Instance Methods
new Poll Poller Component
__init__(...)
initializes x; see x.__class__.__doc__ for signature
 
__tick__(self)
 
addReader(self, fd)
 
addWriter(self, fd)
 
discard(self, fd)
 
removeReader(self, fd)
 
removeWriter(self, fd)

Inherited from _Poller: isReading, isWriting

Inherited from core.BaseComponent: __repr__, register, unregister

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

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

Static Methods

Inherited from core.BaseComponent: __new__

Class Variables
  channel = 'poll'
The Component's Channel
Instance Variables

Inherited from core.Manager: manager

Properties

Inherited from core.Manager: name, running, state

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Returns: new Poll 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

removeReader(self, fd)

 
Overrides: _Poller.removeReader

removeWriter(self, fd)

 
Overrides: _Poller.removeWriter