Driver
Syntax
public interface Driver
Description
A Driver service should be registered by each driver wishing to attach to device services provided by other drivers. For each newly discovered Device, the device manager enters a bidding phase. The Driver whose match(ServiceReference) method bids the highest for a particular device will be instructed by the device manager to attach to the device.
See Also: Device
Member Summary | |
---|---|
Methods | |
public String | attach(ServiceReference) |
Attach this driver to the device represented by the given ServiceReference. | |
public int | match(ServiceReference) |
Check whether this driver can be attached to the device represented by the given ServiceReference, and return a value indicating how well this driver can support the ... |
Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.