Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Since: 1.46
Synopsis
- newtype DeviceHsr = DeviceHsr (ManagedPtr DeviceHsr)
- class (GObject o, IsDescendantOf DeviceHsr o) => IsDeviceHsr o
- toDeviceHsr :: (MonadIO m, IsDeviceHsr o) => o -> m DeviceHsr
- deviceHsrGetMulticastSpec :: (HasCallStack, MonadIO m, IsDeviceHsr a) => a -> m Word8
- deviceHsrGetPort1 :: (HasCallStack, MonadIO m, IsDeviceHsr a) => a -> m Device
- deviceHsrGetPort2 :: (HasCallStack, MonadIO m, IsDeviceHsr a) => a -> m Device
- deviceHsrGetPrp :: (HasCallStack, MonadIO m, IsDeviceHsr a) => a -> m Bool
- deviceHsrGetSupervisionAddress :: (HasCallStack, MonadIO m, IsDeviceHsr a) => a -> m Text
- getDeviceHsrPort1 :: (MonadIO m, IsDeviceHsr o) => o -> m Device
- getDeviceHsrPort2 :: (MonadIO m, IsDeviceHsr o) => o -> m Device
- getDeviceHsrPrp :: (MonadIO m, IsDeviceHsr o) => o -> m Bool
- getDeviceHsrSupervisionAddress :: (MonadIO m, IsDeviceHsr o) => o -> m Text
Exported types
Memory-managed wrapper type.
Instances
Eq DeviceHsr Source # | |
GObject DeviceHsr Source # | |
Defined in GI.NM.Objects.DeviceHsr | |
ManagedPtrNewtype DeviceHsr Source # | |
Defined in GI.NM.Objects.DeviceHsr | |
TypedObject DeviceHsr Source # | |
Defined in GI.NM.Objects.DeviceHsr | |
HasParentTypes DeviceHsr Source # | |
Defined in GI.NM.Objects.DeviceHsr | |
IsGValue (Maybe DeviceHsr) Source # | Convert |
Defined in GI.NM.Objects.DeviceHsr | |
type ParentTypes DeviceHsr Source # | |
Defined in GI.NM.Objects.DeviceHsr |
class (GObject o, IsDescendantOf DeviceHsr o) => IsDeviceHsr o Source #
Type class for types which can be safely cast to DeviceHsr
, for instance with toDeviceHsr
.
Instances
(GObject o, IsDescendantOf DeviceHsr o) => IsDeviceHsr o Source # | |
Defined in GI.NM.Objects.DeviceHsr |
toDeviceHsr :: (MonadIO m, IsDeviceHsr o) => o -> m DeviceHsr Source #
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getMulticastSpec, getNmPluginMissing, getPath, getPhysicalPortId, getPort1, getPort2, getPorts, getProduct, getProperty, getPrp, getQdata, getSettingType, getState, getStateReason, getSupervisionAddress, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getMulticastSpec
deviceHsrGetMulticastSpec Source #
:: (HasCallStack, MonadIO m, IsDeviceHsr a) | |
=> a |
|
-> m Word8 | Returns: the last byte of the supervision address |
No description available in the introspection data.
Since: 1.46
getPort1
:: (HasCallStack, MonadIO m, IsDeviceHsr a) | |
=> a |
|
-> m Device | Returns: the device's port1 device |
No description available in the introspection data.
Since: 1.46
getPort2
:: (HasCallStack, MonadIO m, IsDeviceHsr a) | |
=> a |
|
-> m Device | Returns: the device's port2 device |
No description available in the introspection data.
Since: 1.46
getPrp
:: (HasCallStack, MonadIO m, IsDeviceHsr a) | |
=> a |
|
-> m Bool | Returns: whether PRP protocol is used or not |
No description available in the introspection data.
Since: 1.46
getSupervisionAddress
deviceHsrGetSupervisionAddress Source #
:: (HasCallStack, MonadIO m, IsDeviceHsr a) | |
=> a |
|
-> m Text | Returns: the supervision MAC adddress |
No description available in the introspection data.
Since: 1.46
Properties
multicastSpec
port1
The device's port1 device.
Since: 1.46
getDeviceHsrPort1 :: (MonadIO m, IsDeviceHsr o) => o -> m Device Source #
Get the value of the “port1
” property.
When overloading is enabled, this is equivalent to
get
deviceHsr #port1
port2
The device's port2 device.
Since: 1.46
getDeviceHsrPort2 :: (MonadIO m, IsDeviceHsr o) => o -> m Device Source #
Get the value of the “port2
” property.
When overloading is enabled, this is equivalent to
get
deviceHsr #port2
prp
Whether the PRP protocol is used or not.
Since: 1.46
getDeviceHsrPrp :: (MonadIO m, IsDeviceHsr o) => o -> m Bool Source #
Get the value of the “prp
” property.
When overloading is enabled, this is equivalent to
get
deviceHsr #prp
supervisionAddress
The device supervision MAC adddress.
Since: 1.46
getDeviceHsrSupervisionAddress :: (MonadIO m, IsDeviceHsr o) => o -> m Text Source #
Get the value of the “supervision-address
” property.
When overloading is enabled, this is equivalent to
get
deviceHsr #supervisionAddress