GObject.Object
Gio.SocketControlMessage
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GSocketControlMessage |
Class : | SocketControlMessage |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
parent_instance : GObject.Object
read only
|
Gio.SocketControlMessage | |
priv : Gio.SocketControlMessagePrivate
read only
|
Gio.SocketControlMessage |
Method / Constructor | Defined By | |
---|---|---|
new Gio.SocketControlMessage
(Object properties)
Create a new Gio.SocketControlMessage
Create a new Gio.SocketControlMessage
|
||
Gio.SocketControlMessage.deserialize
(gint32 level, gint32 type, guint32 size, String data)
:
Gio.SocketControlMessage
Tries to deserialize a socket control message of a given
of GSocketControlMessage if they can understand this kind of message and if so deserialize it into a GSocketControlMessage.
Tries to deserialize a socket control message of a given
of GSocketControlMessage if they can understand this kind of message and if so deserialize it into a GSocketControlMessage. If there is no implementation for this kind of control message, NULL will be returned.
|
Gio.SocketControlMessage | |
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 |