RPKI Engine
1.0
|
Classes | |
class | gc_summary |
class | iterator |
class | sync_wrapper |
class | timer |
Functions | |
def | _raiseExitNow |
def | defer |
def | event_loop |
def | exit_event_loop |
def | run_deferred |
Variables | |
list | deferred_queue = [] |
List to hold deferred actions. | |
ExitNow = asyncore.ExitNow |
Utilities for event-driven programming. $Id: async.py 4014 2011-10-05 16:30:24Z sra $ Copyright (C) 2009--2011 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
def rpki::async::_raiseExitNow | ( | signum, | |
frame | |||
) | [private] |
def rpki::async::defer | ( | thunk | ) |
Defer an action until the next pass through the event loop.
Definition at line 255 of file async.py.
Referenced by rpki::async::iterator::__call__(), and rpki::async::sync_wrapper::__call__().
def rpki::async::event_loop | ( | catch_signals = (signal.SIGINT, signal.SIGTERM | ) |
Replacement for asyncore.loop(), adding timer and signal support.
Definition at line 280 of file async.py.
References run_deferred().
Referenced by rpki::async::sync_wrapper::__call__().
def rpki::async::exit_event_loop | ( | ) |
def rpki::async::run_deferred | ( | ) |
Run deferred actions.
Definition at line 261 of file async.py.
Referenced by event_loop().
rpki::async::ExitNow = asyncore.ExitNow |