Class w.c.s.CoreStartupController(Object, DBusExporterHelper):

Part of wader.cli.startup View In Hierarchy

I handle devices in the system

Discovery, identification, hotplugging, etc.
Instance VariablesclientsDictionary with a reference to every configured device
Method __init__ Undocumented
Method GetDevices Returns a list of object paths with all the found devices
Method AddDevice Configure and leave ready to use the device identified by udi
Method RemoveDevice Free and remove the device identified by udi
Method DeviceAdded Emitted when a 3G device is added
Method DeviceRemoved Emitted when a 3G device is removed
def __init__(self):
Undocumented
def _connect_to_signals(self):
Undocumented
def _populate_potential_clients(self):
Undocumented
def _device_added_cb(self, udi):
Undocumented
def _device_removed_cb(self, udi):
Undocumented
def _process_found_devices(self, devices):
Undocumented
def _process_added_udis(self):
Undocumented
def _attach_device(self, plugin, udi):
Undocumented
def _remove_client(self, udi):
Removes client identified by udi from self.clients
def _register_client(self, plugin, udi):
Registers plugin in {self.clients} by its udi
def _get_devices(self):
Undocumented
@method(WADER_INTFACE, '', 'ao', ('async_cb', 'async_eb'))
def GetDevices(self, async_cb, async_eb):

Returns a list of object paths with all the found devices

It also includes the object paths of already handled devices
@method(WADER_INTFACE, 's', 'o', ('async_cb', 'async_eb'))
def AddDevice(self, udi, async_cb, async_eb):
Configure and leave ready to use the device identified by udi
@method(WADER_INTFACE, 'o', '', ('async_cb', 'async_eb'))
def RemoveDevice(self, udi, async_cb, async_eb):
Free and remove the device identified by udi
@signal(WADER_INTFACE, 'o')
def DeviceAdded(self, udi):
Emitted when a 3G device is added
@signal(WADER_INTFACE, 'o')
def DeviceRemoved(self, udi):
Emitted when a 3G device is removed
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.