GObject.Object
Gio.SocketControlMessage
Gio.UnixCredentialsMessage
| Import line: | Gio = imports.gi.Gio; |
| GIR File: | Gio-2.0.gir |
| C documentation: | GUnixCredentialsMessage |
| Class : | UnixCredentialsMessage |
| Extends: | Gio.SocketControlMessage |
| Properties | Defined By | |
|---|---|---|
|
credentials : Gio.Credentials
The credentials stored in the message.
The credentials stored in the message.
|
Gio.UnixCredentialsMessage | |
|
parent_instance : Gio.SocketControlMessage
read only
|
Gio.UnixCredentialsMessage | |
|
priv : Gio.UnixCredentialsMessagePrivate
read only
|
Gio.UnixCredentialsMessage | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new Gio.UnixCredentialsMessage
(Object properties)
Create a new Gio.UnixCredentialsMessage
Create a new Gio.UnixCredentialsMessage
|
||
|
new Gio.UnixCredentialsMessage.with_credentials
(Credentials credentials)
:
Gio.SocketControlMessage
Create a new Gio.UnixCredentialsMessage
Create a new Gio.UnixCredentialsMessage
|
||
|
Gio.UnixCredentialsMessage.is_supported
()
:
gboolean
Checks if passing a GCredential on a GSocket is supported on this platform.
Checks if passing a GCredential on a GSocket is supported on this platform.
|
Gio.UnixCredentialsMessage | |
|
get_credentials
()
:
Gio.Credentials
Gets the credentials stored in message.
Gets the credentials stored in message.
|
Gio.UnixCredentialsMessage | |
|
get_level
()
:
gint32
Returns the "level" (i.e.
Returns the "level" (i.e. the originating protocol) of the control message.
This is often SOL_SOCKET.
|
Gio.SocketControlMessage | |
|
get_msg_type
()
:
gint32
Returns the protocol specific type of the control message.
Returns the protocol specific type of the control message.
For instance, for UNIX fd passing this would be SCM_RIGHTS.
|
Gio.SocketControlMessage | |
|
get_size
()
:
guint32
Returns the space required for the control message, not including
headers or alignment.
Returns the space required for the control message, not including
headers or alignment.
|
Gio.SocketControlMessage | |
|
serialize
(void* data)
:
none
Converts the data in the message to bytes placed in the
message.
Converts the data in the message to bytes placed in the
message. returned by g_socket_control_message_get_size() on this object.
|
Gio.SocketControlMessage | |
| None |