public interface DriverHandler
| Modifier and Type | Method and Description |
|---|---|
<T extends Behaviour> |
behaviour(Class<T> behaviourClass)
Returns the specified facet of behaviour to interact with the device.
|
DriverData |
data()
Returns the device driver data.
|
Driver |
driver()
Returns the parent device driver.
|
<T> T |
get(Class<T> serviceClass)
Returns the reference to the implementation of the specified service.
|
Driver driver()
DriverData data()
<T extends Behaviour> T behaviour(Class<T> behaviourClass)
T - type of behaviourbehaviourClass - behaviour class<T> T get(Class<T> serviceClass)
T - type of serviceserviceClass - service classorg.onlab.osgi.ServiceNotFoundException - if service is unavailableCopyright © 2015. All rights reserved.