gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.DeviceHsr

Description

No description available in the introspection data.

Since: 1.46

Synopsis

Exported types

newtype DeviceHsr Source #

Memory-managed wrapper type.

Instances

Instances details
Eq DeviceHsr Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

GObject DeviceHsr Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

ManagedPtrNewtype DeviceHsr Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

TypedObject DeviceHsr Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

Methods

glibType :: IO GType #

HasParentTypes DeviceHsr Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

IsGValue (Maybe DeviceHsr) Source #

Convert DeviceHsr to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Objects.DeviceHsr

type ParentTypes DeviceHsr Source # 
Instance details

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

Instances details
(GObject o, IsDescendantOf DeviceHsr o) => IsDeviceHsr o Source # 
Instance details

Defined in GI.NM.Objects.DeviceHsr

toDeviceHsr :: (MonadIO m, IsDeviceHsr o) => o -> m DeviceHsr Source #

Cast to DeviceHsr, for types for which this is known to be safe. For general casts, use castTo.

Methods

getMulticastSpec

deviceHsrGetMulticastSpec Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceHsr a) 
=> a

device: a DeviceHsr

-> m Word8

Returns: the last byte of the supervision address

No description available in the introspection data.

Since: 1.46

getPort1

deviceHsrGetPort1 Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceHsr a) 
=> a

device: a DeviceHsr

-> m Device

Returns: the device's port1 device

No description available in the introspection data.

Since: 1.46

getPort2

deviceHsrGetPort2 Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceHsr a) 
=> a

device: a DeviceHsr

-> m Device

Returns: the device's port2 device

No description available in the introspection data.

Since: 1.46

getPrp

deviceHsrGetPrp Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceHsr a) 
=> a

device: a DeviceHsr

-> m Bool

Returns: whether PRP protocol is used or not

No description available in the introspection data.

Since: 1.46

getSupervisionAddress

deviceHsrGetSupervisionAddress Source #

Arguments

:: (HasCallStack, MonadIO m, IsDeviceHsr a) 
=> a

device: a DeviceHsr

-> 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