Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Structs.TeamLinkWatcher
Description
No description available in the introspection data.
Synopsis
- newtype TeamLinkWatcher = TeamLinkWatcher (ManagedPtr TeamLinkWatcher)
- teamLinkWatcherDup :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m TeamLinkWatcher
- teamLinkWatcherEqual :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> TeamLinkWatcher -> m Bool
- teamLinkWatcherGetDelayDown :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherGetDelayUp :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherGetFlags :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m [TeamLinkWatcherArpPingFlags]
- teamLinkWatcherGetInitWait :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherGetInterval :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherGetMissedMax :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherGetName :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Text
- teamLinkWatcherGetSourceHost :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Text
- teamLinkWatcherGetTargetHost :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Text
- teamLinkWatcherGetVlanid :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m Int32
- teamLinkWatcherNewArpPing :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> Int32 -> Text -> Text -> [TeamLinkWatcherArpPingFlags] -> m TeamLinkWatcher
- teamLinkWatcherNewArpPing2 :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> Int32 -> Int32 -> Text -> Text -> [TeamLinkWatcherArpPingFlags] -> m TeamLinkWatcher
- teamLinkWatcherNewEthtool :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> m TeamLinkWatcher
- teamLinkWatcherNewNsnaPing :: (HasCallStack, MonadIO m) => Int32 -> Int32 -> Int32 -> Text -> m TeamLinkWatcher
- teamLinkWatcherRef :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m ()
- teamLinkWatcherUnref :: (HasCallStack, MonadIO m) => TeamLinkWatcher -> m ()
Exported types
newtype TeamLinkWatcher Source #
Memory-managed wrapper type.
Constructors
TeamLinkWatcher (ManagedPtr TeamLinkWatcher) |
Instances
Eq TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher Methods (==) :: TeamLinkWatcher -> TeamLinkWatcher -> Bool # (/=) :: TeamLinkWatcher -> TeamLinkWatcher -> Bool # | |
GBoxed TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher | |
ManagedPtrNewtype TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher Methods toManagedPtr :: TeamLinkWatcher -> ManagedPtr TeamLinkWatcher # | |
TypedObject TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher | |
HasParentTypes TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher | |
IsGValue (Maybe TeamLinkWatcher) Source # | Convert |
Defined in GI.NM.Structs.TeamLinkWatcher Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe TeamLinkWatcher -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe TeamLinkWatcher) # | |
type ParentTypes TeamLinkWatcher Source # | |
Defined in GI.NM.Structs.TeamLinkWatcher |
Methods
Click to display all available methods, including inherited ones
Methods
Getters
getDelayDown, getDelayUp, getFlags, getInitWait, getInterval, getMissedMax, getName, getSourceHost, getTargetHost, getVlanid.
Setters
None.
dup
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m TeamLinkWatcher | Returns: a copy of |
Creates a copy of watcher
Since: 1.12
equal
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> TeamLinkWatcher |
|
-> m Bool | Returns: |
Determines if two TeamLinkWatcher
objects contain the same values
in all the properties.
Since: 1.12
getDelayDown
teamLinkWatcherGetDelayDown Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the delay_down interval (in milliseconds) that elapses between the link going down and the runner being notified about it.
Since: 1.12
getDelayUp
teamLinkWatcherGetDelayUp Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the delay_up interval (in milliseconds) that elapses between the link coming up and the runner being notified about it.
Since: 1.12
getFlags
teamLinkWatcherGetFlags Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m [TeamLinkWatcherArpPingFlags] |
Gets the arp ping watcher flags.
Since: 1.12
getInitWait
teamLinkWatcherGetInitWait Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the init_wait interval (in milliseconds) that the team port should wait before sending the first packet to the target host.
Since: 1.12
getInterval
teamLinkWatcherGetInterval Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the interval (in milliseconds) that the team port should wait between sending two check packets to the target host.
Since: 1.12
getMissedMax
teamLinkWatcherGetMissedMax Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the number of missed replies after which the link is considered down.
Since: 1.12
getName
teamLinkWatcherGetName Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Text |
Gets the name of the link watcher to be used.
Since: 1.12
getSourceHost
teamLinkWatcherGetSourceHost Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Text |
Gets the ip address to be used as source for the link probing packets.
Since: 1.12
getTargetHost
teamLinkWatcherGetTargetHost Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Text |
Gets the host name/ip address to be used as destination for the link probing packets.
Since: 1.12
getVlanid
teamLinkWatcherGetVlanid Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m Int32 |
Gets the VLAN tag ID to be used to outgoing link probes
Since: 1.16
newArpPing
teamLinkWatcherNewArpPing Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Int32 |
|
-> Int32 |
|
-> Int32 |
|
-> Text |
|
-> Text |
|
-> [TeamLinkWatcherArpPingFlags] |
|
-> m TeamLinkWatcher | Returns: the new |
Creates a new arp_ping TeamLinkWatcher
object
Since: 1.12
newArpPing2
teamLinkWatcherNewArpPing2 Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Int32 |
|
-> Int32 |
|
-> Int32 |
|
-> Int32 |
|
-> Text |
|
-> Text |
|
-> [TeamLinkWatcherArpPingFlags] |
|
-> m TeamLinkWatcher | Returns: the new |
Creates a new arp_ping TeamLinkWatcher
object
Since: 1.16
newEthtool
teamLinkWatcherNewEthtool Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Int32 |
|
-> Int32 |
|
-> m TeamLinkWatcher | Returns: the new |
Creates a new ethtool TeamLinkWatcher
object
Since: 1.12
newNsnaPing
teamLinkWatcherNewNsnaPing Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Int32 |
|
-> Int32 |
|
-> Int32 |
|
-> Text |
|
-> m TeamLinkWatcher | Returns: the new |
Creates a new nsna_ping TeamLinkWatcher
object
Since: 1.12
ref
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m () |
Increases the reference count of the object.
Since 1.20, ref-counting of TeamLinkWatcher
is thread-safe.
Since: 1.12
unref
Arguments
:: (HasCallStack, MonadIO m) | |
=> TeamLinkWatcher |
|
-> m () |
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Since 1.20, ref-counting of TeamLinkWatcher
is thread-safe.
Since: 1.12