ProxyAddressEnumerator

A subclass of #GSocketAddressEnumerator that takes another address enumerator and wraps its results in #GProxyAddresses as directed by the default #GProxyResolver.

Constructors

this
this(GProxyAddressEnumerator* gProxyAddressEnumerator, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getProxyAddressEnumeratorStruct
GProxyAddressEnumerator* getProxyAddressEnumeratorStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gProxyAddressEnumerator
GProxyAddressEnumerator* gProxyAddressEnumerator;

the main Gtk struct

Inherited Members

From SocketAddressEnumerator

gSocketAddressEnumerator
GSocketAddressEnumerator* gSocketAddressEnumerator;

the main Gtk struct

getSocketAddressEnumeratorStruct
GSocketAddressEnumerator* getSocketAddressEnumeratorStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
next
SocketAddress next(Cancellable cancellable)

Retrieves the next #GSocketAddress from @enumerator. Note that this may block for some amount of time. (Eg, a #GNetworkAddress may need to do a DNS lookup before it can return an address.) Use g_socket_address_enumerator_next_async() if you need to avoid blocking.

nextAsync
void nextAsync(Cancellable cancellable, GAsyncReadyCallback callback, void* userData)

Asynchronously retrieves the next #GSocketAddress from @enumerator and then calls @callback, which must call g_socket_address_enumerator_next_finish() to get the result.

nextFinish
SocketAddress nextFinish(AsyncResultIF result)

Retrieves the result of a completed call to g_socket_address_enumerator_next_async(). See g_socket_address_enumerator_next() for more information about error handling.

Meta