Table of Contents

Class: FakeHAL src/backend.py

Implements a fake HAL interface over SSH by using hal command-line utils

Methods   
FakeDev
FindDeviceByCapability
GetProperty
__init__
  FakeDev 
FakeDev ( self,  udi )

Set the UDI, specified by udi for the GetProperty method.

  FindDeviceByCapability 
FindDeviceByCapability ( self,  capability )

Find the HAL UDI for a device by capability, e.g., printer.

  GetProperty 
GetProperty ( self,  property )

Get the property for the UDI specified by FakeDev.

  __init__ 
__init__ ( self,  ssh )

Takes an existing ssh session held by an instance of ssh as an argument and creates the FakeHAL instance.


Table of Contents

This document was automatically generated on Sun Feb 3 17:55:12 2008 by HappyDoc version 2.1