Basic reactor interface capable of handling fds and timers.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
add_fd(self,
fd,
event_callback,
event_type)
Adds a fd for watch. |
source code
|
|
|
rem_fd(self,
fd)
Removes a fd from being watched. |
source code
|
|
|
add_after_stop_func(self,
func)
Registers a function to be called before entering the STOPPED state. |
source code
|
|
|
rem_after_stop_func(self,
func)
Removes a registered function. |
source code
|
|
|
add_before_start_func(self,
func)
Registers a function to be called before entering the RUNNING state. |
source code
|
|
|
rem_before_start_func(self,
func)
Removes a registered function. |
source code
|
|
|
|
|
main(self)
Enters the RUNNING state by running the main loop until main_quit()
is called. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|