Package org.onosproject.net.behaviour
Interface ExtensionTreatmentResolver
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
@Beta public interface ExtensionTreatmentResolver extends HandlerBehaviour
Provides access to the extension treatments implemented by this driver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExtensionTreatment
getExtensionInstruction(ExtensionTreatmentType type)
Gets an extension treatment instance of the specified type, if supported by the driver.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
getExtensionInstruction
ExtensionTreatment getExtensionInstruction(ExtensionTreatmentType type)
Gets an extension treatment instance of the specified type, if supported by the driver.- Parameters:
type
- type of extension to get- Returns:
- extension instruction
- Throws:
java.lang.UnsupportedOperationException
- if the extension type is not supported by this driver
-
-