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

Description

OLPC Wireless Mesh Settings

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf SettingOlpcMesh o) => IsSettingOlpcMesh o Source # 
Instance details

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

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

setting: the SettingOlpcMesh

-> m Bytes 

No description available in the introspection data.

new

settingOlpcMeshNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingOlpcMesh

Returns: the new empty SettingOlpcMesh object

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 ]