Class w.c.h._.DBusExporterHelper(object):

Part of wader.common.hardware View In Hierarchy

I am a helper for classes that export methods over DBus
Method __init__ Undocumented
Method add_generic_callbacks Adds async_cb and async_eb to deferred
Method add_generic_callbacks_and_swallow Adds async_cb n async_eb to deferred and swallows the result
Method process_failure Extracts the exception wrapped in failure and calls async_eb
def __init__(self):
Undocumented
def add_generic_callbacks(self, deferred, async_cb, async_eb):
Adds async_cb and async_eb to deferred
def add_generic_callbacks_and_swallow(self, deferred, async_cb, async_eb):

Adds async_cb n async_eb to deferred and swallows the result

This method is useful for functions that might return some garbage, but we are not interested in the result
def process_failure(self, failure, async_eb):
Extracts the exception wrapped in failure and calls async_eb
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.