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.VpnPluginOld
Description
No description available in the introspection data.
Synopsis
- newtype VpnPluginOld = VpnPluginOld (ManagedPtr VpnPluginOld)
- class (GObject o, IsDescendantOf VpnPluginOld o) => IsVpnPluginOld o
- toVpnPluginOld :: (MonadIO m, IsVpnPluginOld o) => o -> m VpnPluginOld
- vpnPluginOldDisconnect :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> m ()
- vpnPluginOldFailure :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> VpnPluginFailure -> m ()
- vpnPluginOldGetConnection :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> m DBusConnection
- vpnPluginOldGetSecretFlags :: (HasCallStack, MonadIO m) => Map (Ptr ()) (Ptr ()) -> Text -> m (Bool, [SettingSecretFlags])
- vpnPluginOldGetState :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> m VpnServiceState
- vpnPluginOldReadVpnDetails :: (HasCallStack, MonadIO m) => Int32 -> m (Bool, Map (Ptr ()) (Ptr ()), Map (Ptr ()) (Ptr ()))
- vpnPluginOldSecretsRequired :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> Text -> Text -> m ()
- vpnPluginOldSetIp4Config :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> GVariant -> m ()
- vpnPluginOldSetLoginBanner :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> Text -> m ()
- vpnPluginOldSetState :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> VpnServiceState -> m ()
- constructVpnPluginOldServiceName :: (IsVpnPluginOld o, MonadIO m) => Text -> m (GValueConstruct o)
- getVpnPluginOldServiceName :: (MonadIO m, IsVpnPluginOld o) => o -> m (Maybe Text)
- constructVpnPluginOldState :: (IsVpnPluginOld o, MonadIO m) => VpnServiceState -> m (GValueConstruct o)
- getVpnPluginOldState :: (MonadIO m, IsVpnPluginOld o) => o -> m VpnServiceState
- setVpnPluginOldState :: (MonadIO m, IsVpnPluginOld o) => o -> VpnServiceState -> m ()
- type VpnPluginOldConfigCallback = GVariant -> IO ()
- afterVpnPluginOldConfig :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldConfigCallback) -> m SignalHandlerId
- onVpnPluginOldConfig :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldConfigCallback) -> m SignalHandlerId
- type VpnPluginOldFailureCallback = Word32 -> IO ()
- afterVpnPluginOldFailure :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldFailureCallback) -> m SignalHandlerId
- onVpnPluginOldFailure :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldFailureCallback) -> m SignalHandlerId
- type VpnPluginOldIp4ConfigCallback = GVariant -> IO ()
- afterVpnPluginOldIp4Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp4ConfigCallback) -> m SignalHandlerId
- onVpnPluginOldIp4Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp4ConfigCallback) -> m SignalHandlerId
- type VpnPluginOldIp6ConfigCallback = GVariant -> IO ()
- afterVpnPluginOldIp6Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp6ConfigCallback) -> m SignalHandlerId
- onVpnPluginOldIp6Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp6ConfigCallback) -> m SignalHandlerId
- type VpnPluginOldLoginBannerCallback = Text -> IO ()
- afterVpnPluginOldLoginBanner :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldLoginBannerCallback) -> m SignalHandlerId
- onVpnPluginOldLoginBanner :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldLoginBannerCallback) -> m SignalHandlerId
- type VpnPluginOldQuitCallback = IO ()
- afterVpnPluginOldQuit :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldQuitCallback) -> m SignalHandlerId
- onVpnPluginOldQuit :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldQuitCallback) -> m SignalHandlerId
- type VpnPluginOldSecretsRequiredCallback = Text -> [Text] -> IO ()
- afterVpnPluginOldSecretsRequired :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldSecretsRequiredCallback) -> m SignalHandlerId
- onVpnPluginOldSecretsRequired :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldSecretsRequiredCallback) -> m SignalHandlerId
- type VpnPluginOldStateChangedCallback = Word32 -> IO ()
- afterVpnPluginOldStateChanged :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldStateChangedCallback) -> m SignalHandlerId
- onVpnPluginOldStateChanged :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldStateChangedCallback) -> m SignalHandlerId
Exported types
newtype VpnPluginOld Source #
Memory-managed wrapper type.
Constructors
VpnPluginOld (ManagedPtr VpnPluginOld) |
Instances
Eq VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld | |
GObject VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld | |
ManagedPtrNewtype VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld Methods | |
TypedObject VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld | |
HasParentTypes VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld | |
IsGValue (Maybe VpnPluginOld) Source # | Convert |
Defined in GI.NM.Objects.VpnPluginOld Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe VpnPluginOld -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe VpnPluginOld) # | |
type ParentTypes VpnPluginOld Source # | |
Defined in GI.NM.Objects.VpnPluginOld |
class (GObject o, IsDescendantOf VpnPluginOld o) => IsVpnPluginOld o Source #
Type class for types which can be safely cast to VpnPluginOld
, for instance with toVpnPluginOld
.
Instances
(GObject o, IsDescendantOf VpnPluginOld o) => IsVpnPluginOld o Source # | |
Defined in GI.NM.Objects.VpnPluginOld |
toVpnPluginOld :: (MonadIO m, IsVpnPluginOld o) => o -> m VpnPluginOld Source #
Cast to VpnPluginOld
, 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, disconnect, failure, forceFloating, freezeNotify, getv, init, isFloating, notify, notifyByPspec, ref, refSink, runDispose, secretsRequired, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getConnection, getData, getProperty, getQdata, getState.
Setters
setData, setDataFull, setIp4Config, setLoginBanner, setProperty, setState.
disconnect
vpnPluginOldDisconnect Source #
Arguments
:: (HasCallStack, MonadIO m, IsVpnPluginOld a) | |
=> a | |
-> m () | (Can throw |
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
failure
vpnPluginOldFailure :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> VpnPluginFailure -> m () Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
getConnection
vpnPluginOldGetConnection :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> m DBusConnection Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
getSecretFlags
vpnPluginOldGetSecretFlags Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Map (Ptr ()) (Ptr ()) |
|
-> Text |
|
-> m (Bool, [SettingSecretFlags]) | Returns: |
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
Given a VPN secret key name, attempts to find the corresponding flags data
item in data
. If found, converts the flags data item to
SettingSecretFlags
and returns it.
getState
vpnPluginOldGetState :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> m VpnServiceState Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
readVpnDetails
vpnPluginOldReadVpnDetails Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> Int32 |
|
-> m (Bool, Map (Ptr ()) (Ptr ()), Map (Ptr ()) (Ptr ())) | Returns: |
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
Parses key/value pairs from a file descriptor (normally stdin) passed by an applet when the applet calls the authentication dialog of the VPN plugin.
secretsRequired
vpnPluginOldSecretsRequired Source #
Arguments
:: (HasCallStack, MonadIO m, IsVpnPluginOld a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m () |
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
Called by VPN plugin implementations to signal to NetworkManager that secrets are required during the connection process. This signal may be used to request new secrets when the secrets originally provided by NetworkManager are insufficient, or the VPN process indicates that it needs additional information to complete the request.
setIp4Config
vpnPluginOldSetIp4Config :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> GVariant -> m () Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
setLoginBanner
vpnPluginOldSetLoginBanner :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> Text -> m () Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
setState
vpnPluginOldSetState :: (HasCallStack, MonadIO m, IsVpnPluginOld a) => a -> VpnServiceState -> m () Source #
Deprecated: (Since version 1.2)Replaced by NMVpnServicePlugin.
No description available in the introspection data.
Properties
serviceName
The D-Bus service name of this plugin.
constructVpnPluginOldServiceName :: (IsVpnPluginOld o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “service-name
” property. This is rarely needed directly, but it is used by new
.
getVpnPluginOldServiceName :: (MonadIO m, IsVpnPluginOld o) => o -> m (Maybe Text) Source #
Get the value of the “service-name
” property.
When overloading is enabled, this is equivalent to
get
vpnPluginOld #serviceName
state
The state of the plugin.
constructVpnPluginOldState :: (IsVpnPluginOld o, MonadIO m) => VpnServiceState -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “state
” property. This is rarely needed directly, but it is used by new
.
getVpnPluginOldState :: (MonadIO m, IsVpnPluginOld o) => o -> m VpnServiceState Source #
Get the value of the “state
” property.
When overloading is enabled, this is equivalent to
get
vpnPluginOld #state
setVpnPluginOldState :: (MonadIO m, IsVpnPluginOld o) => o -> VpnServiceState -> m () Source #
Set the value of the “state
” property.
When overloading is enabled, this is equivalent to
set
vpnPluginOld [ #state:=
value ]
Signals
config
type VpnPluginOldConfigCallback = GVariant -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldConfig :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the config signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #config callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldConfig :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the config signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #config callback
failure
type VpnPluginOldFailureCallback = Word32 -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldFailure :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldFailureCallback) -> m SignalHandlerId Source #
Connect a signal handler for the failure signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #failure callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldFailure :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldFailureCallback) -> m SignalHandlerId Source #
Connect a signal handler for the failure signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #failure callback
ip4Config
type VpnPluginOldIp4ConfigCallback = GVariant -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldIp4Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp4ConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the ip4Config signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #ip4Config callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldIp4Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp4ConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the ip4Config signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #ip4Config callback
ip6Config
type VpnPluginOldIp6ConfigCallback = GVariant -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldIp6Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp6ConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the ip6Config signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #ip6Config callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldIp6Config :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldIp6ConfigCallback) -> m SignalHandlerId Source #
Connect a signal handler for the ip6Config signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #ip6Config callback
loginBanner
type VpnPluginOldLoginBannerCallback = Text -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldLoginBanner :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldLoginBannerCallback) -> m SignalHandlerId Source #
Connect a signal handler for the loginBanner signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #loginBanner callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldLoginBanner :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldLoginBannerCallback) -> m SignalHandlerId Source #
Connect a signal handler for the loginBanner signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #loginBanner callback
quit
type VpnPluginOldQuitCallback = IO () Source #
No description available in the introspection data.
afterVpnPluginOldQuit :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldQuitCallback) -> m SignalHandlerId Source #
Connect a signal handler for the quit signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #quit callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldQuit :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldQuitCallback) -> m SignalHandlerId Source #
Connect a signal handler for the quit signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #quit callback
secretsRequired
type VpnPluginOldSecretsRequiredCallback = Text -> [Text] -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldSecretsRequired :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldSecretsRequiredCallback) -> m SignalHandlerId Source #
Connect a signal handler for the secretsRequired signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #secretsRequired callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldSecretsRequired :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldSecretsRequiredCallback) -> m SignalHandlerId Source #
Connect a signal handler for the secretsRequired signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #secretsRequired callback
stateChanged
type VpnPluginOldStateChangedCallback = Word32 -> IO () Source #
No description available in the introspection data.
afterVpnPluginOldStateChanged :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldStateChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the stateChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
vpnPluginOld #stateChanged callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onVpnPluginOldStateChanged :: (IsVpnPluginOld a, MonadIO m) => a -> ((?self :: a) => VpnPluginOldStateChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the stateChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
vpnPluginOld #stateChanged callback