Package org.onosproject.net.behaviour
Interface ModulationConfig<T>
-
- All Superinterfaces:
Behaviour
,HandlerBehaviour
@Beta public interface ModulationConfig<T> extends HandlerBehaviour
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ModulationScheme>
getModulationScheme(PortNumber port, T component)
Get the target Modulation Scheme on the component.void
setModulationScheme(PortNumber port, T component, long bitRate)
Set the target Modulation Scheme on the component.-
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler
-
-
-
-
Method Detail
-
getModulationScheme
Optional<ModulationScheme> getModulationScheme(PortNumber port, T component)
Get the target Modulation Scheme on the component.- Parameters:
port
- the portcomponent
- the port component- Returns:
- ModulationScheme as per bitRate value
-
setModulationScheme
void setModulationScheme(PortNumber port, T component, long bitRate)
Set the target Modulation Scheme on the component.- Parameters:
port
- the portcomponent
- the port componentbitRate
- bit rate in bps
-
-