GObject.Object
Gio.SocketAddress
Gio.UnixSocketAddress
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GUnixSocketAddress |
Class : | UnixSocketAddress |
Implements: | Gio.SocketConnectable |
Extends: | Gio.SocketAddress |
Properties | Defined By | |
---|---|---|
abstract : gboolean
Whether or not this is an abstract address
distinguishes between zero-padded and non-zero-padded abstract addresses. Whether or not this is an abstract address
distinguishes between zero-padded and non-zero-padded abstract addresses. |
Gio.UnixSocketAddress | |
address_type : Gio.UnixSocketAddressType
|
Gio.UnixSocketAddress | |
family : Gio.SocketFamily
read only
|
Gio.SocketAddress | |
parent_instance : Gio.SocketAddress
read only
|
Gio.UnixSocketAddress | |
path : String
|
Gio.UnixSocketAddress | |
path_as_array : Array
|
Gio.UnixSocketAddress | |
priv : Gio.UnixSocketAddressPrivate
read only
|
Gio.UnixSocketAddress |
Method / Constructor | Defined By | |
---|---|---|
new Gio.UnixSocketAddress
(Object properties)
Create a new Gio.UnixSocketAddress
Create a new Gio.UnixSocketAddress
|
||
Create a new Gio.UnixSocketAddress
Create a new Gio.UnixSocketAddress
|
||
Create a new Gio.UnixSocketAddress
Create a new Gio.UnixSocketAddress
|
||
new Gio.UnixSocketAddress.with_type
(String path, gint32 path_len, UnixSocketAddressType type)
:
Gio.SocketAddress
Create a new Gio.UnixSocketAddress
Create a new Gio.UnixSocketAddress
|
||
Gio.UnixSocketAddress.abstract_names_supported
()
:
gboolean
Checks if abstract unix domain socket names are supported.
Checks if abstract unix domain socket names are supported.
|
Gio.UnixSocketAddress | |
enumerate
()
:
Gio.SocketAddressEnumerator
Creates a GSocketAddressEnumerator for connectable.
Creates a GSocketAddressEnumerator for connectable.
|
Gio.SocketConnectable | |
get_address_type
()
:
Gio.UnixSocketAddressType
Gets address's type.
Gets address's type.
|
Gio.UnixSocketAddress | |
get_family
()
:
Gio.SocketFamily
Gets the socket family type of address.
Gets the socket family type of address.
|
Gio.SocketAddress | |
get_is_abstract
()
:
gboolean
Tests if address is abstract.
Tests if address is abstract.
|
Gio.UnixSocketAddress | |
get_native_size
()
:
gint32
Gets the size of address's native
Gets the size of address's native
You can use this to allocate memory to pass to g_socket_address_to_native().
|
Gio.SocketAddress | |
get_path
()
:
String
Gets address's path, or for abstract sockets the "name".
Gets address's path, or for abstract sockets the "name".
Guaranteed to be zero-terminated, but an abstract socket may contain embedded zeros, and thus you should use g_unix_socket_address_get_path_len() to get the true length of this string.
|
Gio.UnixSocketAddress | |
get_path_len
()
:
guint32
Gets the length of address's path.
Gets the length of address's path.
For details, see g_unix_socket_address_get_path().
|
Gio.UnixSocketAddress | |
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 | |
Converts a GSocketAddress to a native
sockaddr connect() or bind().
Converts a GSocketAddress to a native
sockaddr connect() or bind(). If not enough space is availible, a G_IO_ERROR_NO_SPACE error is returned. If the address type is not known on the system then a G_IO_ERROR_NOT_SUPPORTED error is returned.
|
Gio.SocketAddress |
None |