Package rpki.async


Classes

class  iterator
class  sync_wrapper
class  timer

Functions

def _raiseExitNow
def event_loop
def exit_event_loop

Variables

 ExitNow = asyncore.ExitNow

Detailed Description

Utilities for event-driven programming.

$Id: async.py 2571 2009-07-04 20:13:22Z sra $

Copyright (C) 2009  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.


Function Documentation

def rpki.async._raiseExitNow (   signum,
  frame 
) [private]

Signal handler for event_loop().

Definition at line 215 of file async.py.

def rpki.async.event_loop (   catch_signals = (signal.SIGINT, signal.SIGTERM  ) 

Replacement for asyncore.loop(), adding timer and signal support.

Definition at line 219 of file async.py.

def rpki.async.exit_event_loop (  ) 

Force exit from event_loop().

Definition at line 269 of file async.py.


Variable Documentation

rpki::async.ExitNow = asyncore.ExitNow

Definition at line 24 of file async.py.


Generated on Tue Jul 7 16:04:42 2009 for RPKI Engine by  doxygen 1.5.9