Package org.onosproject.net.driver
Class AbstractHandlerBehaviour
- java.lang.Object
-
- org.onosproject.net.driver.AbstractBehaviour
-
- org.onosproject.net.driver.AbstractHandlerBehaviour
-
- All Implemented Interfaces:
Behaviour
,HandlerBehaviour
public class AbstractHandlerBehaviour extends AbstractBehaviour implements HandlerBehaviour
Base implementation of a driver handler behaviour.
-
-
Constructor Summary
Constructors Constructor Description AbstractHandlerBehaviour()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverHandler
handler()
Returns the driver handler context on which this behaviour operates.void
setHandler(DriverHandler handler)
Sets the driver handler context for this behaviour.-
Methods inherited from class org.onosproject.net.driver.AbstractBehaviour
data, setData
-
-
-
-
Method Detail
-
handler
public DriverHandler handler()
Description copied from interface:HandlerBehaviour
Returns the driver handler context on which this behaviour operates.- Specified by:
handler
in interfaceHandlerBehaviour
- Returns:
- driver handler context
-
setHandler
public void setHandler(DriverHandler handler)
Description copied from interface:HandlerBehaviour
Sets the driver handler context for this behaviour.- Specified by:
setHandler
in interfaceHandlerBehaviour
- Parameters:
handler
- driver handler
-
-