Gio.ProxyAddressEnumerator

g GObject.Object GObject.Object Gio.SocketAddressEnumerator Gio.SocketAddressEnumerator GObject.Object->Gio.SocketAddressEnumerator Gio.ProxyAddressEnumerator Gio.ProxyAddressEnumerator Gio.SocketAddressEnumerator->Gio.ProxyAddressEnumerator

Subclasses:

None

Methods

Inherited:

Gio.SocketAddressEnumerator (3), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

Gio.SocketAddressEnumerator (3), GObject.Object (7)

Properties

Name

Type

Flags

Short Description

connectable

Gio.SocketConnectable

r/w/co

The connectable being enumerated.

default-port

int

r/w/co

The default port to use if uri does not specify one

proxy-resolver

Gio.ProxyResolver

r/w/c

The proxy resolver to use.

uri

str

r/w/co

The destination URI, use none:// for generic socket

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gio.SocketAddressEnumerator

r

Class Details

class Gio.ProxyAddressEnumerator(**kwargs)
Bases:

Gio.SocketAddressEnumerator

Abstract:

No

Structure:

Gio.ProxyAddressEnumeratorClass

Gio.ProxyAddressEnumerator is a wrapper around Gio.SocketAddressEnumerator which takes the Gio.SocketAddress instances returned by the Gio.SocketAddressEnumerator and wraps them in Gio.ProxyAddress instances, using the given Gio.ProxyAddressEnumerator :proxy-resolver.

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

Property Details

Gio.ProxyAddressEnumerator.props.connectable
Name:

connectable

Type:

Gio.SocketConnectable

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The connectable being enumerated.

Gio.ProxyAddressEnumerator.props.default_port
Name:

default-port

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

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

New in version 2.38.

Gio.ProxyAddressEnumerator.props.proxy_resolver
Name:

proxy-resolver

Type:

Gio.ProxyResolver

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The proxy resolver to use.

New in version 2.36.

Gio.ProxyAddressEnumerator.props.uri
Name:

uri

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The destination URI, use none:// for generic socket