Package pike :: Module transport :: Class SelectPoller
[hide private]
[frames] | no frames]

Class SelectPoller

source code

object --+    
         |    
BasePoller --+
             |
            SelectPoller

Implementation of select, available on most platforms as a fallback.

Roughly equivalent performance to using asyncore

Instance Methods [hide private]
 
poll(self)
Must be implemented by subclasses to execute a single iteration of the event loop.
source code

Inherited from BasePoller: __init__, add_channel, defer_write, del_channel, loop, process_readables, process_writables

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

poll(self)

source code 

Must be implemented by subclasses to execute a single iteration of the
event loop. Based on the outcome of the events, the following actions
MUST be performed

    * process_readables is called with a list of file descriptors which
      have data available for reading
    * process_writables is called with a list of file descriptors which
      have data available for writing

Overrides: BasePoller.poll
(inherited documentation)