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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ExtensionTreatmentgetExtensionInstruction(ExtensionTreatmentType type)Gets an extension treatment instance of the specified type, if supported by the driver.- 
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviourhandler, setHandler
 
- 
 
- 
- 
- 
Method Detail- 
getExtensionInstructionExtensionTreatment 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
 
 
- 
 
-