- public void @lock ()
If this is locked, does nothing.
- public DBusMessage copy () throws Error
Copies this.
- public unowned string? get_arg0 ()
Convenience to get the first item in the body of
this.
- public unowned Variant? get_body ()
Gets the body of a message.
- public DBusMessageByteOrder get_byte_order ()
Gets the byte order of this.
- public unowned string? get_destination ()
Convenience getter for the
g_dbus_message_header_field_destination header field.
- public unowned string? get_error_name ()
Convenience getter for the
g_dbus_message_header_field_error_name header field.
- public DBusMessageFlags get_flags ()
Gets the flags for this.
- public unowned Variant? get_header (DBusMessageHeaderField header_field)
Gets a header field on this.
- public uchar[] get_header_fields ()
Gets an array of all header fields on this
that are set.
- public unowned string? get_interface ()
Convenience getter for the
g_dbus_message_header_field_interface header field.
- public bool get_locked ()
Checks whether this is locked.
- public unowned string? get_member ()
Convenience getter for the
g_dbus_message_header_field_member header field.
- public DBusMessageType get_message_type ()
Gets the type of this.
- public uint32 get_num_unix_fds ()
Convenience getter for the
g_dbus_message_header_field_num_unix_fds header field.
- public unowned string? get_path ()
Convenience getter for the
g_dbus_message_header_field_path header field.
- public uint32 get_reply_serial ()
Convenience getter for the
g_dbus_message_header_field_reply_serial header field.
- public unowned string? get_sender ()
Convenience getter for the
g_dbus_message_header_field_sender header field.
- public uint32 get_serial ()
Gets the serial for this.
- public unowned string get_signature ()
Convenience getter for the
g_dbus_message_header_field_signature header field.
- public unowned UnixFDList? get_unix_fd_list ()
Gets the UNIX file descriptors associated with
this, if any.
- public string print (uint indent = 0)
Produces a human-readable multi-line description of
this.
- public void set_body (Variant body)
Sets the body this.
- public void set_byte_order (DBusMessageByteOrder byte_order)
Sets the byte order of this.
- public void set_destination (string? value)
Convenience setter for the
g_dbus_message_header_field_destination header field.
- public void set_error_name (string value)
Convenience setter for the
g_dbus_message_header_field_error_name header field.
- public void set_flags (DBusMessageFlags flags)
Sets the flags to set on this.
- public void set_header (DBusMessageHeaderField header_field, Variant? value)
Sets a header field on this.
- public void set_interface (string? value)
Convenience setter for the
g_dbus_message_header_field_interface header field.
- public void set_member (string? value)
Convenience setter for the
g_dbus_message_header_field_member header field.
- public void set_message_type (DBusMessageType type)
Sets this to be of type
.
- public void set_num_unix_fds (uint32 value)
Convenience setter for the
g_dbus_message_header_field_num_unix_fds header field.
- public void set_path (string? value)
Convenience setter for the
g_dbus_message_header_field_path header field.
- public void set_reply_serial (uint32 value)
Convenience setter for the
g_dbus_message_header_field_reply_serial header field.
- public void set_sender (string? value)
Convenience setter for the
g_dbus_message_header_field_sender header field.
- public void set_serial (uint32 serial)
Sets the serial for this.
- public void set_signature (string? value)
Convenience setter for the
g_dbus_message_header_field_signature header field.
- public void set_unix_fd_list (UnixFDList? fd_list)
Sets the UNIX file descriptors associated with
this.
- public uint8[] to_blob (DBusCapabilityFlags capabilities) throws Error
Serializes this to a blob.
- public bool to_gerror () throws Error
If this is not of type
g_dbus_message_type_error does nothing and returns false.