Class e.p.h.h.ProtocolTest(object):

Part of elisa.plugins.hal.hal View In Hierarchy

Known subclasses: elisa.plugins.hal.hal.IpodProtocolTest

Class to test if a HALDevice can be considered to be of a protocol.
Instance Variablesprotocolthe protocol for which this instance tests (type: str )
hal_propertiesproperties to test (type: tuple )
ModelClassthe model type associated with the protocol (type: classobj )
Line # Kind Name Docs
60 Method __init__ Undocumented
68 Method has_protocol Returns whether hal_device represents a device of
def __init__(self, protocol, hal_properties, model_class=DeviceModel):
Undocumented
def has_protocol(self, hal_device):
Returns whether hal_device represents a device of self.protocol.
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.