Package gozerbot :: Module eventhandler :: Class Eventhandler
[hide private]
[frames] | no frames]

Class Eventhandler

source code

object --+
         |
        Eventhandler
Known Subclasses:

events are handled in 11 queues with different priorities: queue0 is tried first queue10 last

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
start(self)
start the eventhandler thread
source code
 
stop(self)
stop the eventhandler thread
source code
 
put(self, speed, func, *args, **kwargs)
put item on the queue
source code
 
getready(self)
check queues from available data
source code
 
handle_one(self)
do 1 loop over ready queues
source code
 
handleloop(self)
thread that polls the queues for items to dispatch
source code
 
dispatch(self, queue)
dispatch functions from provided queue
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)