Package org.onosproject.net.driver
Class AbstractBehaviour
- java.lang.Object
-
- org.onosproject.net.driver.AbstractBehaviour
-
- All Implemented Interfaces:
Behaviour
- Direct Known Subclasses:
AbstractHandlerBehaviour
public class AbstractBehaviour extends Object implements Behaviour
Base implementation of a driver behaviour.
-
-
Constructor Summary
Constructors Constructor Description AbstractBehaviour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverData
data()
Returns the driver data context.void
setData(DriverData data)
Sets the driver data context on this this behaviour should operate.
-
-
-
Method Detail
-
data
public DriverData data()
Description copied from interface:Behaviour
Returns the driver data context.
-
setData
public void setData(DriverData data)
Description copied from interface:Behaviour
Sets the driver data context on this this behaviour should operate.
-
-