## EMULAB-COPYRIGHT# Copyright (c) 2004 University of Utah and the Flux Group.# All rights reserved.#This is the documentation for the Python API to the event system...The Python version of the API is related to the Perl version in thatthey both use the same SWIG infrastructure. The difference is in thepresentations, where the Perl API is basically the same as the Cversion, the Python API provides a couple of wrapper classes to makethings easier.CLASS OVERVIEWThe classes are contained in the "tbevent" module, currently, thereare two that are of any consequence. A brief overview of the classesfollows, consult the tbevent.py.tail source for more information. EventClient - The base class for event system clients. Subscribers should create a subclass and override the "handle_event" method to process incoming events. Publishers do not need to create a subclass, the base class already provides the necessary functionality. NotificationWrapper - A wrapper for event_notification structures, contains common setter and getter methods for accessing the structure.EXAMPLESSee the tbsend.py and tbrecv.py files in the examples directory.