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.Objects.SettingOlpcMesh
Description
OLPC Wireless Mesh Settings
Synopsis
- newtype SettingOlpcMesh = SettingOlpcMesh (ManagedPtr SettingOlpcMesh)
- class (GObject o, IsDescendantOf SettingOlpcMesh o) => IsSettingOlpcMesh o
- toSettingOlpcMesh :: (MonadIO m, IsSettingOlpcMesh o) => o -> m SettingOlpcMesh
- settingOlpcMeshGetChannel :: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) => a -> m Word32
- settingOlpcMeshGetDhcpAnycastAddress :: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) => a -> m Text
- settingOlpcMeshGetSsid :: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) => a -> m Bytes
- settingOlpcMeshNew :: (HasCallStack, MonadIO m) => m SettingOlpcMesh
- constructSettingOlpcMeshChannel :: (IsSettingOlpcMesh o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingOlpcMeshChannel :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Word32
- setSettingOlpcMeshChannel :: (MonadIO m, IsSettingOlpcMesh o) => o -> Word32 -> m ()
- clearSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> m ()
- constructSettingOlpcMeshDhcpAnycastAddress :: (IsSettingOlpcMesh o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Text
- setSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> Text -> m ()
- clearSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> m ()
- constructSettingOlpcMeshSsid :: (IsSettingOlpcMesh o, MonadIO m) => Bytes -> m (GValueConstruct o)
- getSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Bytes
- setSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> Bytes -> m ()
Exported types
newtype SettingOlpcMesh Source #
Memory-managed wrapper type.
Constructors
SettingOlpcMesh (ManagedPtr SettingOlpcMesh) |
Instances
Eq SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh Methods (==) :: SettingOlpcMesh -> SettingOlpcMesh -> Bool # (/=) :: SettingOlpcMesh -> SettingOlpcMesh -> Bool # | |
GObject SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh | |
ManagedPtrNewtype SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh Methods toManagedPtr :: SettingOlpcMesh -> ManagedPtr SettingOlpcMesh # | |
TypedObject SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh | |
HasParentTypes SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh | |
IsGValue (Maybe SettingOlpcMesh) Source # | Convert |
Defined in GI.NM.Objects.SettingOlpcMesh Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingOlpcMesh -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingOlpcMesh) # | |
type ParentTypes SettingOlpcMesh Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh |
class (GObject o, IsDescendantOf SettingOlpcMesh o) => IsSettingOlpcMesh o Source #
Type class for types which can be safely cast to SettingOlpcMesh
, for instance with toSettingOlpcMesh
.
Instances
(GObject o, IsDescendantOf SettingOlpcMesh o) => IsSettingOlpcMesh o Source # | |
Defined in GI.NM.Objects.SettingOlpcMesh |
toSettingOlpcMesh :: (MonadIO m, IsSettingOlpcMesh o) => o -> m SettingOlpcMesh Source #
Cast to SettingOlpcMesh
, 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
getChannel, getData, getDbusPropertyType, getDhcpAnycastAddress, getName, getProperty, getQdata, getSecretFlags, getSsid.
Setters
getChannel
settingOlpcMeshGetChannel :: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) => a -> m Word32 Source #
No description available in the introspection data.
getDhcpAnycastAddress
settingOlpcMeshGetDhcpAnycastAddress :: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) => a -> m Text Source #
No description available in the introspection data.
getSsid
settingOlpcMeshGetSsid Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOlpcMesh a) | |
=> a |
|
-> m Bytes |
No description available in the introspection data.
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingOlpcMesh | Returns: the new empty |
Creates a new SettingOlpcMesh
object with default values.
Properties
channel
Channel on which the mesh network to join is located.
constructSettingOlpcMeshChannel :: (IsSettingOlpcMesh o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “channel
” property. This is rarely needed directly, but it is used by new
.
getSettingOlpcMeshChannel :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Word32 Source #
Get the value of the “channel
” property.
When overloading is enabled, this is equivalent to
get
settingOlpcMesh #channel
setSettingOlpcMeshChannel :: (MonadIO m, IsSettingOlpcMesh o) => o -> Word32 -> m () Source #
Set the value of the “channel
” property.
When overloading is enabled, this is equivalent to
set
settingOlpcMesh [ #channel:=
value ]
dhcpAnycastAddress
Anycast DHCP MAC address used when requesting an IP address via DHCP. The specific anycast address used determines which DHCP server class answers the request.
This is currently only implemented by dhclient DHCP plugin.
clearSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> m () Source #
Set the value of the “dhcp-anycast-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#dhcpAnycastAddress
constructSettingOlpcMeshDhcpAnycastAddress :: (IsSettingOlpcMesh o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “dhcp-anycast-address
” property. This is rarely needed directly, but it is used by new
.
getSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Text Source #
Get the value of the “dhcp-anycast-address
” property.
When overloading is enabled, this is equivalent to
get
settingOlpcMesh #dhcpAnycastAddress
setSettingOlpcMeshDhcpAnycastAddress :: (MonadIO m, IsSettingOlpcMesh o) => o -> Text -> m () Source #
Set the value of the “dhcp-anycast-address
” property.
When overloading is enabled, this is equivalent to
set
settingOlpcMesh [ #dhcpAnycastAddress:=
value ]
ssid
SSID of the mesh network to join.
clearSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> m () Source #
Set the value of the “ssid
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ssid
constructSettingOlpcMeshSsid :: (IsSettingOlpcMesh o, MonadIO m) => Bytes -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “ssid
” property. This is rarely needed directly, but it is used by new
.
getSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> m Bytes Source #
Get the value of the “ssid
” property.
When overloading is enabled, this is equivalent to
get
settingOlpcMesh #ssid
setSettingOlpcMeshSsid :: (MonadIO m, IsSettingOlpcMesh o) => o -> Bytes -> m () Source #
Set the value of the “ssid
” property.
When overloading is enabled, this is equivalent to
set
settingOlpcMesh [ #ssid:=
value ]