| Package | Description |
|---|---|
| org.onosproject.net.driver |
Set of facilities to allow the platform to be extended with
device specific behaviours and to allow modeling device behaviours while
hiding details of specific device driver implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDriverHandler
Default implementation of driver handler.
|
| Modifier and Type | Method and Description |
|---|---|
DriverHandler |
DriverService.createHandler(DeviceId deviceId,
String... credentials)
Creates a new driver handler for interacting with the specified device.
|
DriverHandler |
HandlerBehaviour.handler()
Returns the driver handler context on which this behaviour operates.
|
DriverHandler |
AbstractHandlerBehaviour.handler() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Behaviour> |
Driver.createBehaviour(DriverHandler handler,
Class<T> behaviourClass)
Creates an instance of behaviour primed with the specified driver data.
|
<T extends Behaviour> |
DefaultDriver.createBehaviour(DriverHandler handler,
Class<T> behaviourClass) |
void |
HandlerBehaviour.setHandler(DriverHandler handler)
Sets the driver handler context for this behaviour.
|
void |
AbstractHandlerBehaviour.setHandler(DriverHandler handler) |
Copyright © 2015. All rights reserved.