Driver is a representation of a
specific family of entities (devices, links, etc.) which supports set of
behaviour classes. Default
implementation is provided by the platform and allows DriverProviders to
add different behaviour implementations via DriverService.
DriverData is a container for data
learned about an entity. It is associated with a specific
and provides set of
for talking about an entity. A default
implementation provided by platform and has mutable key/value store for use by
DriverHandler is an entity used as a
context to interact with a device. It has a peer
DriverData instance, which is used to
store information learned about a device. It also
provides set of
for talking to a device.
DriverService can be used to query the
inventory of device drivers and their behaviours, while the
DriverAdminService allows adding/removing
drivers and managing behaviour implementations.
DriverProvider is an entity capable
of add/removing drivers and supplying and managing behaviour
implementations. A default implementation is provided by the framework along
loader utility to
create a driver provider from an XML file structured as follows:
<drivers> <driver name=“...” [manufacturer="..." hwVersion="..." swVersion="..."]> <behaviour api="..." impl="..."/> ... [<property name=“key”>value</key>] ... </driver> ... </drivers>
Interface Summary Interface Description Behaviour BehaviourClassResolverEntity capable of resolving a class using its name. DefaultDriverProviderService Deprecated.in Kingfisher release (1.10) DeviceConnectAbstraction of handler behaviour used to set-up and tear-down connections with a device. DriverRepresentation of a specific family of device drivers. DriverAdminServiceService for managing drivers and driver behaviour implementations. DriverDataContainer for data about an entity, e.g. DriverHandlerRepresentation of context for interacting with a device. DriverListenerEntity capable of receiving driver related events. DriverPrimordialResolverEntity capable of resolving a driver using the primordial information of the manufacturer, hardware name/version and software version. DriverProviderRepresents entity capable of providing device drivers and their behaviours. DriverRegistryService for obtaining drivers and driver behaviour implementations. DriverResolverEntity capable of resolving a driver using its name. DriverServiceService for obtaining drivers and driver behaviour implementations. HandlerBehaviourRepresentation of a facet of behaviour that can be used to interact with an entity (in context of
ProjectableAbstraction of an entity capable of being projected as another entity.
Class Summary Class Description AbstractBehaviourBase implementation of a driver behaviour. AbstractDriverLoaderAbstract bootstrapper for loading and registering driver definitions that are dependent on the default driver definitions. AbstractHandlerBehaviourBase implementation of a driver handler behaviour. AbstractIndependentDriverLoaderAbstract bootstrapper for loading and registering driver definitions that are independent from the default driver definitions. DefaultDriverDefault implementation of extensible driver. DefaultDriverDataDefault implementation of driver data descriptor. DefaultDriverHandlerDefault implementation of driver handler. DefaultDriverProviderDefault driver provider implementation. DriverEventDriver configuration change event. XmlDriverLoaderUtility capable of reading driver configuration XML resources and producing a device driver provider as a result.
Enum Summary Enum Description DriverEvent.TypeType of driver events.