gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.ProxyAddressEnumerator

Description

GProxyAddressEnumerator is a wrapper around SocketAddressEnumerator which takes the SocketAddress instances returned by the SocketAddressEnumerator and wraps them in ProxyAddress instances, using the given ProxyAddressEnumerator:proxyResolver.

This enumerator will be returned (for example, by socketConnectableEnumerate) as appropriate when a proxy is configured; there should be no need to manually wrap a SocketAddressEnumerator instance with one.

Synopsis

Exported types

newtype ProxyAddressEnumerator Source #

Memory-managed wrapper type.

Instances

Instances details
Eq ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

GObject ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

ManagedPtrNewtype ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

TypedObject ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

Methods

glibType :: IO GType #

HasParentTypes ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

HasAttributeList ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

(info ~ ResolveProxyAddressEnumeratorMethod t ProxyAddressEnumerator, OverloadedMethod info ProxyAddressEnumerator p, HasField t ProxyAddressEnumerator p) => HasField (t :: Symbol) ProxyAddressEnumerator (p :: Type) Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

(info ~ ResolveProxyAddressEnumeratorMethod t ProxyAddressEnumerator, OverloadedMethodInfo info ProxyAddressEnumerator) => IsLabel t (MethodProxy info ProxyAddressEnumerator) Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

(info ~ ResolveProxyAddressEnumeratorMethod t ProxyAddressEnumerator, OverloadedMethod info ProxyAddressEnumerator p) => IsLabel t (ProxyAddressEnumerator -> p) Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

IsGValue (Maybe ProxyAddressEnumerator) Source #

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

Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttributeList ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type ParentTypes ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type SignalList ProxyAddressEnumerator Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

class (GObject o, IsDescendantOf ProxyAddressEnumerator o) => IsProxyAddressEnumerator o Source #

Type class for types which can be safely cast to ProxyAddressEnumerator, for instance with toProxyAddressEnumerator.

toProxyAddressEnumerator :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m ProxyAddressEnumerator Source #

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

Methods

type family ResolveProxyAddressEnumeratorMethod (t :: Symbol) o where ... Source #

Equations

ResolveProxyAddressEnumeratorMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveProxyAddressEnumeratorMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveProxyAddressEnumeratorMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveProxyAddressEnumeratorMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveProxyAddressEnumeratorMethod "getv" o = ObjectGetvMethodInfo 
ResolveProxyAddressEnumeratorMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveProxyAddressEnumeratorMethod "next" o = SocketAddressEnumeratorNextMethodInfo 
ResolveProxyAddressEnumeratorMethod "nextAsync" o = SocketAddressEnumeratorNextAsyncMethodInfo 
ResolveProxyAddressEnumeratorMethod "nextFinish" o = SocketAddressEnumeratorNextFinishMethodInfo 
ResolveProxyAddressEnumeratorMethod "notify" o = ObjectNotifyMethodInfo 
ResolveProxyAddressEnumeratorMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveProxyAddressEnumeratorMethod "ref" o = ObjectRefMethodInfo 
ResolveProxyAddressEnumeratorMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveProxyAddressEnumeratorMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveProxyAddressEnumeratorMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveProxyAddressEnumeratorMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveProxyAddressEnumeratorMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveProxyAddressEnumeratorMethod "unref" o = ObjectUnrefMethodInfo 
ResolveProxyAddressEnumeratorMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveProxyAddressEnumeratorMethod "getData" o = ObjectGetDataMethodInfo 
ResolveProxyAddressEnumeratorMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveProxyAddressEnumeratorMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveProxyAddressEnumeratorMethod "setData" o = ObjectSetDataMethodInfo 
ResolveProxyAddressEnumeratorMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveProxyAddressEnumeratorMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveProxyAddressEnumeratorMethod l o = MethodResolutionFailed l o :: Type 

Properties

connectable

The connectable being enumerated.

data ProxyAddressEnumeratorConnectablePropertyInfo Source #

Instances

Instances details
AttrInfo ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

Associated Types

type AttrAllowedOps ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorConnectablePropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrAllowedOps ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorConnectablePropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

constructProxyAddressEnumeratorConnectable :: (IsProxyAddressEnumerator o, MonadIO m, IsSocketConnectable a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “connectable” property. This is rarely needed directly, but it is used by new.

getProxyAddressEnumeratorConnectable :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe SocketConnectable) Source #

Get the value of the “connectable” property. When overloading is enabled, this is equivalent to

get proxyAddressEnumerator #connectable

defaultPort

The default port to use if ProxyAddressEnumerator:uri does not specify one.

Since: 2.38

data ProxyAddressEnumeratorDefaultPortPropertyInfo Source #

Instances

Instances details
AttrInfo ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

Associated Types

type AttrAllowedOps ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorDefaultPortPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrAllowedOps ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorDefaultPortPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

constructProxyAddressEnumeratorDefaultPort :: (IsProxyAddressEnumerator o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “default-port” property. This is rarely needed directly, but it is used by new.

getProxyAddressEnumeratorDefaultPort :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m Word32 Source #

Get the value of the “default-port” property. When overloading is enabled, this is equivalent to

get proxyAddressEnumerator #defaultPort

proxyResolver

The proxy resolver to use.

Since: 2.36

data ProxyAddressEnumeratorProxyResolverPropertyInfo Source #

Instances

Instances details
AttrInfo ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

Associated Types

type AttrAllowedOps ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorProxyResolverPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrAllowedOps ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorProxyResolverPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

clearProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m () Source #

Set the value of the “proxy-resolver” property to Nothing. When overloading is enabled, this is equivalent to

clear #proxyResolver

constructProxyAddressEnumeratorProxyResolver :: (IsProxyAddressEnumerator o, MonadIO m, IsProxyResolver a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “proxy-resolver” property. This is rarely needed directly, but it is used by new.

getProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe ProxyResolver) Source #

Get the value of the “proxy-resolver” property. When overloading is enabled, this is equivalent to

get proxyAddressEnumerator #proxyResolver

setProxyAddressEnumeratorProxyResolver :: (MonadIO m, IsProxyAddressEnumerator o, IsProxyResolver a) => o -> a -> m () Source #

Set the value of the “proxy-resolver” property. When overloading is enabled, this is equivalent to

set proxyAddressEnumerator [ #proxyResolver := value ]

uri

The destination URI. Use none:// for a generic socket.

data ProxyAddressEnumeratorUriPropertyInfo Source #

Instances

Instances details
AttrInfo ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

Associated Types

type AttrAllowedOps ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorUriPropertyInfo 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrAllowedOps ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrBaseTypeConstraint ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrGetType ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrLabel ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrOrigin ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrSetTypeConstraint ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferType ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

type AttrTransferTypeConstraint ProxyAddressEnumeratorUriPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.ProxyAddressEnumerator

constructProxyAddressEnumeratorUri :: (IsProxyAddressEnumerator o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “uri” property. This is rarely needed directly, but it is used by new.

getProxyAddressEnumeratorUri :: (MonadIO m, IsProxyAddressEnumerator o) => o -> m (Maybe Text) Source #

Get the value of the “uri” property. When overloading is enabled, this is equivalent to

get proxyAddressEnumerator #uri