GObject.Object
Gio.NetworkService
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GNetworkService |
Class : | NetworkService |
Implements: | Gio.SocketConnectable |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
domain : String
|
Gio.NetworkService | |
parent_instance : GObject.Object
read only
|
Gio.NetworkService | |
priv : Gio.NetworkServicePrivate
read only
|
Gio.NetworkService | |
protocol : String
|
Gio.NetworkService | |
scheme : String
|
Gio.NetworkService | |
service : String
|
Gio.NetworkService |
Method / Constructor | Defined By | |
---|---|---|
new Gio.NetworkService
(Object properties)
Create a new Gio.NetworkService
Create a new Gio.NetworkService
|
||
Creates a new GNetworkService representing the given service,
GSocketConnectable interface to resolve it.
Creates a new GNetworkService representing the given service,
GSocketConnectable interface to resolve it.
|
Gio.NetworkService | |
enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable.
Creates a GSocketAddressEnumerator for connectable.
|
Gio.SocketConnectable | |
get_domain
()
:
String
Gets the domain that srv serves.
Gets the domain that srv serves. This might be either UTF-8 or
ASCII-encoded, depending on what srv was created with.
|
Gio.NetworkService | |
get_protocol
()
:
String
Gets srv's protocol name (eg, "tcp").
Gets srv's protocol name (eg, "tcp").
|
Gio.NetworkService | |
get_scheme
()
:
String
Get's the URI scheme used to resolve proxies.
Get's the URI scheme used to resolve proxies. By default, the service name
is used as scheme.
|
Gio.NetworkService | |
get_service
()
:
String
Gets srv's service name (eg, "ldap").
Gets srv's service name (eg, "ldap").
|
Gio.NetworkService | |
proxy_enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy.
Creates a GSocketAddressEnumerator for connectable that will
return GProxyAddresses for addresses that you must connect to via a proxy. If connectable does not implement g_socket_connectable_proxy_enumerate(), this will fall back to calling g_socket_connectable_enumerate().
|
Gio.SocketConnectable | |
set_scheme
(String scheme)
:
none
Set's the URI scheme used to resolve proxies.
Set's the URI scheme used to resolve proxies. By default, the service name
is used as scheme.
|
Gio.NetworkService |
None |