Device

Syntax

public interface Device

Description

The Device interface should be implemented by services wishing to be discovered by the device manager. Concrete devices subclass this interface adding methods appropriate to the device category.

If no drivers are interested in this device, the noDriverFound() method is called.

See Also: Device

Member Summary
Fields
public static finalMATCH_NONE
 Return value from Driver.match(ServiceReference) if the driver does not match the device.
Methods
public voidnoDriverFound()
 Called by the device manager after it has failed to attach any driver to the device.

Fields

MATCH_NONE
public static final int MATCH_NONE
						

Return value from Driver.match(ServiceReference) if the driver does not match the device. ...

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.