August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface Driver
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 ... | |
Read now
Unlock full access