| Import line: | Gio = imports.gi.Gio; |
| GIR File: | Gio-2.0.gir |
| C documentation: | GSrvTarget |
| Struct : | SrvTarget |
| None |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gio.SrvTarget.c_new
(String hostname, guint16 port, guint16 priority, guint16 weight)
:
Gio.SrvTarget
Create a new Gio.SrvTarget
Create a new Gio.SrvTarget
|
||
|
copy
()
:
Gio.SrvTarget
Copies target
Copies target
|
Gio.SrvTarget | |
|
free
()
:
none
Frees target
Frees target
|
Gio.SrvTarget | |
|
get_hostname
()
:
String
Gets target's hostname (in ASCII form; if you are going to present
this to the user, you should use g_hostname_is_ascii_encoded() to check if it contains encoded Unicode segments, and use g_hostname_to_unicode() to convert it if it does.
Gets target's hostname (in ASCII form; if you are going to present
this to the user, you should use g_hostname_is_ascii_encoded() to check if it contains encoded Unicode segments, and use g_hostname_to_unicode() to convert it if it does.)
|
Gio.SrvTarget | |
|
get_port
()
:
guint16
Gets target's port
Gets target's port
|
Gio.SrvTarget | |
|
get_priority
()
:
guint16
Gets target's priority.
Gets target's priority. You should not need to look at this;
GResolver already sorts the targets according to the algorithm in RFC 2782.
|
Gio.SrvTarget | |
|
get_weight
()
:
guint16
Gets target's weight.
Gets target's weight. You should not need to look at this;
GResolver already sorts the targets according to the algorithm in RFC 2782.
|
Gio.SrvTarget | |
| None |