Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Bond Port Settings
Synopsis
- newtype SettingBondPort = SettingBondPort (ManagedPtr SettingBondPort)
- class (GObject o, IsDescendantOf SettingBondPort o) => IsSettingBondPort o
- toSettingBondPort :: (MonadIO m, IsSettingBondPort o) => o -> m SettingBondPort
- settingBondPortGetPrio :: (HasCallStack, MonadIO m, IsSettingBondPort a) => a -> m Int32
- settingBondPortGetQueueId :: (HasCallStack, MonadIO m, IsSettingBondPort a) => a -> m Word32
- settingBondPortNew :: (HasCallStack, MonadIO m) => m SettingBondPort
- constructSettingBondPortPrio :: (IsSettingBondPort o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> m Int32
- setSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> Int32 -> m ()
- constructSettingBondPortQueueId :: (IsSettingBondPort o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> m Word32
- setSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> Word32 -> m ()
Exported types
newtype SettingBondPort Source #
Memory-managed wrapper type.
Instances
Eq SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort (==) :: SettingBondPort -> SettingBondPort -> Bool # (/=) :: SettingBondPort -> SettingBondPort -> Bool # | |
GObject SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort | |
ManagedPtrNewtype SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort | |
TypedObject SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort | |
HasParentTypes SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort | |
IsGValue (Maybe SettingBondPort) Source # | Convert |
Defined in GI.NM.Objects.SettingBondPort gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingBondPort -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingBondPort) # | |
type ParentTypes SettingBondPort Source # | |
Defined in GI.NM.Objects.SettingBondPort |
class (GObject o, IsDescendantOf SettingBondPort o) => IsSettingBondPort o Source #
Type class for types which can be safely cast to SettingBondPort
, for instance with toSettingBondPort
.
Instances
(GObject o, IsDescendantOf SettingBondPort o) => IsSettingBondPort o Source # | |
Defined in GI.NM.Objects.SettingBondPort |
toSettingBondPort :: (MonadIO m, IsSettingBondPort o) => o -> m SettingBondPort Source #
Cast to SettingBondPort
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getName, getPrio, getProperty, getQdata, getQueueId, getSecretFlags.
Setters
getPrio
settingBondPortGetPrio Source #
:: (HasCallStack, MonadIO m, IsSettingBondPort a) | |
=> a |
|
-> m Int32 | Returns: the SettingBondPort:prio property of the setting |
No description available in the introspection data.
Since: 1.44
getQueueId
settingBondPortGetQueueId Source #
:: (HasCallStack, MonadIO m, IsSettingBondPort a) | |
=> a |
|
-> m Word32 | Returns: the |
No description available in the introspection data.
Since: 1.34
new
:: (HasCallStack, MonadIO m) | |
=> m SettingBondPort | Returns: the new empty |
Creates a new SettingBondPort
object with default values.
Since: 1.34
Properties
prio
The port priority for bond active port re-selection during failover. A higher number means a higher priority in selection. The primary port has the highest priority. This option is only compatible with active-backup, balance-tlb and balance-alb modes.
Since: 1.44
constructSettingBondPortPrio :: (IsSettingBondPort o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “prio
” property. This is rarely needed directly, but it is used by new
.
getSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> m Int32 Source #
Get the value of the “prio
” property.
When overloading is enabled, this is equivalent to
get
settingBondPort #prio
setSettingBondPortPrio :: (MonadIO m, IsSettingBondPort o) => o -> Int32 -> m () Source #
Set the value of the “prio
” property.
When overloading is enabled, this is equivalent to
set
settingBondPort [ #prio:=
value ]
queueId
The queue ID of this bond port. The maximum value of queue ID is the number of TX queues currently active in device.
Since: 1.34
constructSettingBondPortQueueId :: (IsSettingBondPort o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “queue-id
” property. This is rarely needed directly, but it is used by new
.
getSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> m Word32 Source #
Get the value of the “queue-id
” property.
When overloading is enabled, this is equivalent to
get
settingBondPort #queueId
setSettingBondPortQueueId :: (MonadIO m, IsSettingBondPort o) => o -> Word32 -> m () Source #
Set the value of the “queue-id
” property.
When overloading is enabled, this is equivalent to
set
settingBondPort [ #queueId:=
value ]