Home | Trees | Index | Help |
|
---|
Package driver :: Module event :: Class KickEvent |
|
Event
--+
|
KickEvent
Method Summary | |
---|---|
__init__(self)
| |
String representing the event. | |
This is the method that gets called after the event has been plucked off the Queue and is being handled. | |
Inherited from Event | |
| |
Enqueues the current Event in the engine's event queue for later execution. |
Method Details |
---|
__str__(self)
String representing the event. This is useful for verbose mode where
we log all the events we've handled.
|
execute(self, my_engine)This is the method that gets called after the event has been plucked off the Queue and is being handled. It takes a Engine object so it knows how to access things. Exceptions that are kicked up and not handled by the event will get handled by the loop that dequeues and executes events. But in general, it's probably not a good thing to be throwing around unhandled exceptions.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Wed Jan 21 21:00:06 2004 | http://epydoc.sf.net |