glibmm 2.66.6
Namespaces | Classes | Typedefs | Enumerations | Functions
Gio::DBus Namespace Reference

Namespaces

namespace  Address
 
namespace  ErrorUtils
 

Classes

class  ActionGroup
 ActionGroup - A D-Bus Gio::ActionGroup implementation. More...
 
class  AnnotationInfo
 Stores information about an annotation. More...
 
class  ArgInfo
 ArgInfo - Stores information about an argument for a method or a signal. More...
 
class  AuthObserver
 AuthObserver - An object used for authenticating connections. More...
 
class  Connection
 A D-Bus Connection. More...
 
class  Error
 
class  Interface
 Interface - Base type for D-Bus interfaces. More...
 
class  InterfaceInfo
 Stores information about a D-Bus interface. More...
 
class  InterfaceSkeleton
 Abstract base class for D-Bus interfaces on the service side. More...
 
class  InterfaceVTable
 This represents a virtual table for handling properties and method calls for a D-Bus interface. More...
 
class  MenuModel
 MenuModel - A D-Bus Gio::MenuModel implementation. More...
 
class  Message
 A type for representing D-Bus messages that can be sent or received on a Connection. More...
 
class  MethodInfo
 Stores information about a method on an D-Bus interface. More...
 
class  MethodInvocation
 An Object for handling remote calls. More...
 
class  NodeInfo
 NodeInfo - Stores information about nodes in a remote object hierarchy. More...
 
class  Object
 Object - Base type for D-Bus objects. More...
 
class  ObjectManager
 Base type for D-Bus object managers. More...
 
class  ObjectManagerClient
 Client-side object manager. More...
 
class  ObjectManagerServer
 Service-side object manager. More...
 
class  ObjectProxy
 Client-side D-Bus object. More...
 
class  ObjectSkeleton
 Service-side D-Bus object. More...
 
class  PropertyInfo
 Stores information about a property on a D-Bus interface. More...
 
class  Proxy
 A client-side proxy. More...
 
class  Server
 This is a helper for listening to and accepting D-Bus connections. More...
 
class  SignalInfo
 Stores information about a signal on a D-Bus interface. More...
 
class  SubtreeVTable
 This represents a virtual table for subtrees registered with Gio::DBus::Connection::register_subtree(). More...
 

Typedefs

using SlotBusAcquired = sigc::slot< void, const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring >
 For example, void on_bus_acquired(const Glib::RefPtr<Gio::DBus::Connection>& connection, const Glib::ustring& name);.
 
using SlotNameAcquired = sigc::slot< void, const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring >
 For example, void on_name_acquired(const Glib::RefPtr<Gio::DBus::Connection>& connection, const Glib::ustring& name);.
 
using SlotNameLost = sigc::slot< void, const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring >
 For example, void on_name_lost(const Glib::RefPtr<Gio::DBus::Connection>& connection, const Glib::ustring& name);.
 
using SlotNameAppeared = sigc::slot< void, const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring, const Glib::ustring & >
 For example, void on_name_appeared(const Glib::RefPtr<Gio::DBus::Connection>& connection, const Glib::ustring& name, const Glib::ustring& name_owner);.
 
using SlotNameVanished = sigc::slot< void, const Glib::RefPtr< Gio::DBus::Connection > &, Glib::ustring >
 For example, void on_name_vanished(const Glib::RefPtr<Gio::DBus::Connection>& connection, const Glib::ustring& name);.
 

Enumerations

enum  BusType {
  BUS_TYPE_STARTER = -1 ,
  BUS_TYPE_NONE ,
  BUS_TYPE_SYSTEM ,
  BUS_TYPE_SESSION
}
 
enum  CallFlags {
  CALL_FLAGS_NONE = 0x0 ,
  CALL_FLAGS_NO_AUTO_START = (1<<0) ,
  CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION = (1<<1)
}
 
enum  ConnectionFlags {
  CONNECTION_FLAGS_NONE = 0x0 ,
  CONNECTION_FLAGS_AUTHENTICATION_CLIENT = (1<<0) ,
  CONNECTION_FLAGS_AUTHENTICATION_SERVER = (1<<1) ,
  CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = (1<<2) ,
  CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION = (1<<3) ,
  CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING = (1<<4)
}
 
enum  SendMessageFlags {
  SEND_MESSAGE_FLAGS_NONE = 0x0 ,
  SEND_MESSAGE_FLAGS_PRESERVE_SERIAL = (1<<0)
}
 
enum  SignalFlags {
  SIGNAL_FLAGS_NONE = 0x0 ,
  SIGNAL_FLAGS_NO_MATCH_RULE = (1<<0) ,
  SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE = (1<<1) ,
  SIGNAL_FLAGS_MATCH_ARG0_PATH = (1<<2)
}
 
enum  SubtreeFlags {
  SUBTREE_FLAGS_NONE = 0x0 ,
  SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES = (1<<0)
}
 
enum  InterfaceSkeletonFlags {
  DBUS_INTERFACE_SKELETON_FLAGS_NONE = 0x0 ,
  DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD = (1<<0)
}
 
enum  PropertyInfoFlags {
  PROPERTY_INFO_FLAGS_NONE = 0x0 ,
  PROPERTY_INFO_FLAGS_READABLE = (1<<0) ,
  PROPERTY_INFO_FLAGS_WRITABLE = (1<<1)
}
 
enum  MessageType {
  MESSAGE_TYPE_INVALID ,
  MESSAGE_TYPE_METHOD_CALL ,
  MESSAGE_TYPE_METHOD_RETURN ,
  MESSAGE_TYPE_ERROR ,
  MESSAGE_TYPE_SIGNAL
}
 
enum  MessageFlags {
  MESSAGE_FLAGS_NONE = 0x0 ,
  MESSAGE_FLAGS_NO_REPLY_EXPECTED = (1<<0) ,
  MESSAGE_FLAGS_NO_AUTO_START = (1<<1) ,
  MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION = (1<<2)
}
 
enum  MessageHeaderField {
  MESSAGE_HEADER_FIELD_INVALID ,
  MESSAGE_HEADER_FIELD_PATH ,
  MESSAGE_HEADER_FIELD_INTERFACE ,
  MESSAGE_HEADER_FIELD_MEMBER ,
  MESSAGE_HEADER_FIELD_ERROR_NAME ,
  MESSAGE_HEADER_FIELD_REPLY_SERIAL ,
  MESSAGE_HEADER_FIELD_DESTINATION ,
  MESSAGE_HEADER_FIELD_SENDER ,
  MESSAGE_HEADER_FIELD_SIGNATURE ,
  MESSAGE_HEADER_FIELD_NUM_UNIX_FDS
}
 
enum  CapabilityFlags {
  CAPABILITY_FLAGS_NONE = 0x0 ,
  CAPABILITY_FLAGS_UNIX_FD_PASSING = (1<<0)
}
 
enum  ObjectManagerClientFlags {
  OBJECT_MANAGER_CLIENT_FLAGS_NONE = 0x0 ,
  OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START = (1<<0)
}
 
enum  BusNameOwnerFlags {
  BUS_NAME_OWNER_FLAGS_NONE = 0x0 ,
  BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT = (1<<0) ,
  BUS_NAME_OWNER_FLAGS_REPLACE = (1<<1) ,
  BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE = (1<<2)
}
 
enum  ProxyFlags {
  PROXY_FLAGS_NONE = 0x0 ,
  PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES = (1<<0) ,
  PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS = (1<<1) ,
  PROXY_FLAGS_DO_NOT_AUTO_START = (1<<2) ,
  PROXY_FLAGS_GET_INVALIDATED_PROPERTIES = (1<<3) ,
  PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION = (1<<4)
}
 
enum  ServerFlags {
  SERVER_FLAGS_NONE = 0x0 ,
  SERVER_FLAGS_RUN_IN_THREAD = (1<<0) ,
  SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS = (1<<1)
}
 
enum  BusNameWatcherFlags {
  BUS_NAME_WATCHER_FLAGS_NONE = 0x0 ,
  BUS_NAME_WATCHER_FLAGS_AUTO_START = (1<<0)
}
 

Functions

CallFlags operator| (CallFlags lhs, CallFlags rhs)
 
CallFlags operator& (CallFlags lhs, CallFlags rhs)
 
CallFlags operator^ (CallFlags lhs, CallFlags rhs)
 
CallFlags operator~ (CallFlags flags)
 
CallFlagsoperator|= (CallFlags & lhs, CallFlags rhs)
 
CallFlagsoperator&= (CallFlags & lhs, CallFlags rhs)
 
CallFlagsoperator^= (CallFlags & lhs, CallFlags rhs)
 
ConnectionFlags operator| (ConnectionFlags lhs, ConnectionFlags rhs)
 
ConnectionFlags operator& (ConnectionFlags lhs, ConnectionFlags rhs)
 
ConnectionFlags operator^ (ConnectionFlags lhs, ConnectionFlags rhs)
 
ConnectionFlags operator~ (ConnectionFlags flags)
 
ConnectionFlagsoperator|= (ConnectionFlags & lhs, ConnectionFlags rhs)
 
ConnectionFlagsoperator&= (ConnectionFlags & lhs, ConnectionFlags rhs)
 
ConnectionFlagsoperator^= (ConnectionFlags & lhs, ConnectionFlags rhs)
 
SendMessageFlags operator| (SendMessageFlags lhs, SendMessageFlags rhs)
 
SendMessageFlags operator& (SendMessageFlags lhs, SendMessageFlags rhs)
 
SendMessageFlags operator^ (SendMessageFlags lhs, SendMessageFlags rhs)
 
SendMessageFlags operator~ (SendMessageFlags flags)
 
SendMessageFlagsoperator|= (SendMessageFlags & lhs, SendMessageFlags rhs)
 
SendMessageFlagsoperator&= (SendMessageFlags & lhs, SendMessageFlags rhs)
 
SendMessageFlagsoperator^= (SendMessageFlags & lhs, SendMessageFlags rhs)
 
SignalFlags operator| (SignalFlags lhs, SignalFlags rhs)
 
SignalFlags operator& (SignalFlags lhs, SignalFlags rhs)
 
SignalFlags operator^ (SignalFlags lhs, SignalFlags rhs)
 
SignalFlags operator~ (SignalFlags flags)
 
SignalFlagsoperator|= (SignalFlags & lhs, SignalFlags rhs)
 
SignalFlagsoperator&= (SignalFlags & lhs, SignalFlags rhs)
 
SignalFlagsoperator^= (SignalFlags & lhs, SignalFlags rhs)
 
SubtreeFlags operator| (SubtreeFlags lhs, SubtreeFlags rhs)
 
SubtreeFlags operator& (SubtreeFlags lhs, SubtreeFlags rhs)
 
SubtreeFlags operator^ (SubtreeFlags lhs, SubtreeFlags rhs)
 
SubtreeFlags operator~ (SubtreeFlags flags)
 
SubtreeFlagsoperator|= (SubtreeFlags & lhs, SubtreeFlags rhs)
 
SubtreeFlagsoperator&= (SubtreeFlags & lhs, SubtreeFlags rhs)
 
SubtreeFlagsoperator^= (SubtreeFlags & lhs, SubtreeFlags rhs)
 
InterfaceSkeletonFlags operator| (InterfaceSkeletonFlags lhs, InterfaceSkeletonFlags rhs)
 
InterfaceSkeletonFlags operator& (InterfaceSkeletonFlags lhs, InterfaceSkeletonFlags rhs)
 
InterfaceSkeletonFlags operator^ (InterfaceSkeletonFlags lhs, InterfaceSkeletonFlags rhs)
 
InterfaceSkeletonFlags operator~ (InterfaceSkeletonFlags flags)
 
InterfaceSkeletonFlagsoperator|= (InterfaceSkeletonFlags & lhs, InterfaceSkeletonFlags rhs)
 
InterfaceSkeletonFlagsoperator&= (InterfaceSkeletonFlags & lhs, InterfaceSkeletonFlags rhs)
 
InterfaceSkeletonFlagsoperator^= (InterfaceSkeletonFlags & lhs, InterfaceSkeletonFlags rhs)
 
PropertyInfoFlags operator| (PropertyInfoFlags lhs, PropertyInfoFlags rhs)
 
PropertyInfoFlags operator& (PropertyInfoFlags lhs, PropertyInfoFlags rhs)
 
PropertyInfoFlags operator^ (PropertyInfoFlags lhs, PropertyInfoFlags rhs)
 
PropertyInfoFlags operator~ (PropertyInfoFlags flags)
 
PropertyInfoFlagsoperator|= (PropertyInfoFlags & lhs, PropertyInfoFlags rhs)
 
PropertyInfoFlagsoperator&= (PropertyInfoFlags & lhs, PropertyInfoFlags rhs)
 
PropertyInfoFlagsoperator^= (PropertyInfoFlags & lhs, PropertyInfoFlags rhs)
 
MessageFlags operator| (MessageFlags lhs, MessageFlags rhs)
 
MessageFlags operator& (MessageFlags lhs, MessageFlags rhs)
 
MessageFlags operator^ (MessageFlags lhs, MessageFlags rhs)
 
MessageFlags operator~ (MessageFlags flags)
 
MessageFlagsoperator|= (MessageFlags & lhs, MessageFlags rhs)
 
MessageFlagsoperator&= (MessageFlags & lhs, MessageFlags rhs)
 
MessageFlagsoperator^= (MessageFlags & lhs, MessageFlags rhs)
 
CapabilityFlags operator| (CapabilityFlags lhs, CapabilityFlags rhs)
 
CapabilityFlags operator& (CapabilityFlags lhs, CapabilityFlags rhs)
 
CapabilityFlags operator^ (CapabilityFlags lhs, CapabilityFlags rhs)
 
CapabilityFlags operator~ (CapabilityFlags flags)
 
CapabilityFlagsoperator|= (CapabilityFlags & lhs, CapabilityFlags rhs)
 
CapabilityFlagsoperator&= (CapabilityFlags & lhs, CapabilityFlags rhs)
 
CapabilityFlagsoperator^= (CapabilityFlags & lhs, CapabilityFlags rhs)
 
ObjectManagerClientFlags operator| (ObjectManagerClientFlags lhs, ObjectManagerClientFlags rhs)
 
ObjectManagerClientFlags operator& (ObjectManagerClientFlags lhs, ObjectManagerClientFlags rhs)
 
ObjectManagerClientFlags operator^ (ObjectManagerClientFlags lhs, ObjectManagerClientFlags rhs)
 
ObjectManagerClientFlags operator~ (ObjectManagerClientFlags flags)
 
ObjectManagerClientFlagsoperator|= (ObjectManagerClientFlags & lhs, ObjectManagerClientFlags rhs)
 
ObjectManagerClientFlagsoperator&= (ObjectManagerClientFlags & lhs, ObjectManagerClientFlags rhs)
 
ObjectManagerClientFlagsoperator^= (ObjectManagerClientFlags & lhs, ObjectManagerClientFlags rhs)
 
BusNameOwnerFlags operator| (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs)
 
BusNameOwnerFlags operator& (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs)
 
BusNameOwnerFlags operator^ (BusNameOwnerFlags lhs, BusNameOwnerFlags rhs)
 
BusNameOwnerFlags operator~ (BusNameOwnerFlags flags)
 
BusNameOwnerFlagsoperator|= (BusNameOwnerFlags & lhs, BusNameOwnerFlags rhs)
 
BusNameOwnerFlagsoperator&= (BusNameOwnerFlags & lhs, BusNameOwnerFlags rhs)
 
BusNameOwnerFlagsoperator^= (BusNameOwnerFlags & lhs, BusNameOwnerFlags rhs)
 
guint own_name (BusType bus_type, const Glib::ustring & name, const SlotBusAcquired & bus_acquired_slot=SlotBusAcquired(), const SlotNameAcquired & name_acquired_slot=SlotNameAcquired(), const SlotNameLost & name_lost_slot=SlotNameLost(), BusNameOwnerFlags flags=Gio::DBus::BUS_NAME_OWNER_FLAGS_NONE)
 Starts acquiring name on the bus specified by bus_type and calls name_acquired_slot and name_lost_slot when the name is acquired respectively lost.
 
void unown_name (guint owner_id)
 Stops owning a name.
 
ProxyFlags operator| (ProxyFlags lhs, ProxyFlags rhs)
 
ProxyFlags operator& (ProxyFlags lhs, ProxyFlags rhs)
 
ProxyFlags operator^ (ProxyFlags lhs, ProxyFlags rhs)
 
ProxyFlags operator~ (ProxyFlags flags)
 
ProxyFlagsoperator|= (ProxyFlags & lhs, ProxyFlags rhs)
 
ProxyFlagsoperator&= (ProxyFlags & lhs, ProxyFlags rhs)
 
ProxyFlagsoperator^= (ProxyFlags & lhs, ProxyFlags rhs)
 
ServerFlags operator| (ServerFlags lhs, ServerFlags rhs)
 
ServerFlags operator& (ServerFlags lhs, ServerFlags rhs)
 
ServerFlags operator^ (ServerFlags lhs, ServerFlags rhs)
 
ServerFlags operator~ (ServerFlags flags)
 
ServerFlagsoperator|= (ServerFlags & lhs, ServerFlags rhs)
 
ServerFlagsoperator&= (ServerFlags & lhs, ServerFlags rhs)
 
ServerFlagsoperator^= (ServerFlags & lhs, ServerFlags rhs)
 
std::string generate_guid ()
 Generate a D-Bus GUID that can be used with e.g.
 
bool is_guid (const std::string &string)
 Checks if string is a D-Bus GUID.
 
bool is_name (const Glib::ustring &string)
 Checks if string is a valid D-Bus bus name (either unique or well-known).
 
bool is_unique_name (const Glib::ustring &string)
 Checks if string is a valid D-Bus unique bus name.
 
bool is_member_name (const Glib::ustring &string)
 Checks if string is a valid D-Bus member (e.g.
 
bool is_interface_name (const Glib::ustring &string)
 Checks if string is a valid D-Bus interface name.
 
BusNameWatcherFlags operator| (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs)
 
BusNameWatcherFlags operator& (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs)
 
BusNameWatcherFlags operator^ (BusNameWatcherFlags lhs, BusNameWatcherFlags rhs)
 
BusNameWatcherFlags operator~ (BusNameWatcherFlags flags)
 
BusNameWatcherFlagsoperator|= (BusNameWatcherFlags & lhs, BusNameWatcherFlags rhs)
 
BusNameWatcherFlagsoperator&= (BusNameWatcherFlags & lhs, BusNameWatcherFlags rhs)
 
BusNameWatcherFlagsoperator^= (BusNameWatcherFlags & lhs, BusNameWatcherFlags rhs)
 
guint watch_name (BusType bus_type, const Glib::ustring & name, const SlotNameAppeared & name_appeared_slot=SlotNameAppeared(), const SlotNameVanished & name_vanished_slot=SlotNameVanished(), BusNameWatcherFlags flags=Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE)
 Starts watching name on the bus specified by bus_type and calls name_appeared_slot and name_vanished_slot when the name is known to have a owner respectively known to lose its owner.
 
guint watch_name (const Glib::RefPtr< Connection > & connection, const Glib::ustring & name, const SlotNameAppeared & name_appeared_slot=SlotNameAppeared(), const SlotNameVanished & name_vanished_slot=SlotNameVanished(), BusNameWatcherFlags flags=Gio::DBus::BUS_NAME_WATCHER_FLAGS_NONE)
 A watch_name() function that takes a Connection instead of a BusType.
 
void unwatch_name (guint watcher_id)
 Stops watching a name.
 

Enumeration Type Documentation

◆ BusNameOwnerFlags

Enumerator
BUS_NAME_OWNER_FLAGS_NONE 

No flags set.

BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT 

Allow another message bus connection to claim the name.

BUS_NAME_OWNER_FLAGS_REPLACE 

If another message bus connection owns the name and have specified BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT, then take the name from the other connection.

BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE 

If another message bus connection owns the name, immediately return an error from g_bus_own_name() rather than entering the waiting queue for that name.

(Since 2.54).

◆ BusNameWatcherFlags

Enumerator
BUS_NAME_WATCHER_FLAGS_NONE 

No flags set.

BUS_NAME_WATCHER_FLAGS_AUTO_START 

If no-one owns the name when beginning to watch the name, ask the bus to launch an owner for the name.

◆ BusType

Enumerator
BUS_TYPE_STARTER 

An alias for the message bus that activated the process, if any.

BUS_TYPE_NONE 

Not a message bus.

BUS_TYPE_SYSTEM 

The system-wide message bus.

BUS_TYPE_SESSION 

The login session message bus.

◆ CallFlags

Enumerator
CALL_FLAGS_NONE 

No flags set.

CALL_FLAGS_NO_AUTO_START 

The bus must not launch an owner for the destination name in response to this method invocation.

CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION 

The caller is prepared to wait for interactive authorization.

Since glibmm 2.46:

◆ CapabilityFlags

Enumerator
CAPABILITY_FLAGS_NONE 

No flags set.

CAPABILITY_FLAGS_UNIX_FD_PASSING 

The connection supports exchanging UNIX file descriptors with the remote peer.

◆ ConnectionFlags

Enumerator
CONNECTION_FLAGS_NONE 

No flags set.

CONNECTION_FLAGS_AUTHENTICATION_CLIENT 

Perform authentication against server.

CONNECTION_FLAGS_AUTHENTICATION_SERVER 

Perform authentication against client.

CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS 

When authenticating as a server, allow the anonymous authentication method.

CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION 

Pass this flag if connecting to a peer that is a message bus.

This means that the Hello() method will be invoked as part of the connection setup.

CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING 

If set, processing of D-Bus messages is delayed until g_dbus_connection_start_message_processing() is called.

◆ InterfaceSkeletonFlags

Enumerator
DBUS_INTERFACE_SKELETON_FLAGS_NONE 

No flags set.

DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD 

Each method invocation is handled in a thread dedicated to the invocation.

This means that the method implementation can use blocking IO without blocking any other part of the process. It also means that the method implementation must use locking to access data structures used by other threads.

◆ MessageFlags

Enumerator
MESSAGE_FLAGS_NONE 

No flags set.

MESSAGE_FLAGS_NO_REPLY_EXPECTED 

A reply is not expected.

MESSAGE_FLAGS_NO_AUTO_START 

The bus must not launch an owner for the destination name in response to this message.

MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION 

If set on a method call, this flag means that the caller is prepared to wait for interactive authorization.

Since glibmm 2.46:

◆ MessageHeaderField

Enumerator
MESSAGE_HEADER_FIELD_INVALID 

Not a valid header field.

MESSAGE_HEADER_FIELD_PATH 

The object path.

MESSAGE_HEADER_FIELD_INTERFACE 

The interface name.

MESSAGE_HEADER_FIELD_MEMBER 

The method or signal name.

MESSAGE_HEADER_FIELD_ERROR_NAME 

The name of the error that occurred.

MESSAGE_HEADER_FIELD_REPLY_SERIAL 

The serial number the message is a reply to.

MESSAGE_HEADER_FIELD_DESTINATION 

The name the message is intended for.

MESSAGE_HEADER_FIELD_SENDER 

Unique name of the sender of the message (filled in by the bus).

MESSAGE_HEADER_FIELD_SIGNATURE 

The signature of the message body.

MESSAGE_HEADER_FIELD_NUM_UNIX_FDS 

The number of UNIX file descriptors that accompany the message.

◆ MessageType

Enumerator
MESSAGE_TYPE_INVALID 

Message is of invalid type.

MESSAGE_TYPE_METHOD_CALL 

Method call.

MESSAGE_TYPE_METHOD_RETURN 

Method reply.

MESSAGE_TYPE_ERROR 

Error reply.

MESSAGE_TYPE_SIGNAL 

Signal emission.

◆ ObjectManagerClientFlags

Enumerator
OBJECT_MANAGER_CLIENT_FLAGS_NONE 

No flags set.

OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START 

If not set and the manager is for a well-known name, then request the bus to launch an owner for the name if no-one owns the name.

This flag can only be used in managers for well-known names.

◆ PropertyInfoFlags

Enumerator
PROPERTY_INFO_FLAGS_NONE 

No flags set.

PROPERTY_INFO_FLAGS_READABLE 

Property is readable.

PROPERTY_INFO_FLAGS_WRITABLE 

Property is writable.

◆ ProxyFlags

Enumerator
PROXY_FLAGS_NONE 

No flags set.

PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES 

Don't load properties.

PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS 

Don't connect to signals on the remote object.

PROXY_FLAGS_DO_NOT_AUTO_START 

If the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization or a method call.

This flag is only meaningful in proxies for well-known names.

PROXY_FLAGS_GET_INVALIDATED_PROPERTIES 

If set, the property value for any invalidated property will be (asynchronously) retrieved upon receiving the PropertiesChanged D-Bus signal and the property will not cause emission of the DBusProxy::signal_g_properties_changed() signal.

When the value is received the DBusProxy::signal_g_properties_changed() signal is emitted for the property along with the retrieved value.

Since glibmm 2.32:
PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION 

If the proxy is for a well-known name, do not ask the bus to launch an owner during proxy initialization, but allow it to be autostarted by a method call.

This flag is only meaningful in proxies for well-known names, and only if DBUS_PROXY_FLAGS_DO_NOT_AUTO_START is not also specified.

◆ SendMessageFlags

Enumerator
SEND_MESSAGE_FLAGS_NONE 

No flags set.

SEND_MESSAGE_FLAGS_PRESERVE_SERIAL 

Do not automatically assign a serial number from the DBusConnection object when sending a message.

◆ ServerFlags

Enumerator
SERVER_FLAGS_NONE 

No flags set.

SERVER_FLAGS_RUN_IN_THREAD 

All DBusServer::signal_new_connection() signals will run in separated dedicated threads (see signal for details).

SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS 

Allow the anonymous authentication method.

◆ SignalFlags

Enumerator
SIGNAL_FLAGS_NONE 

No flags set.

SIGNAL_FLAGS_NO_MATCH_RULE 

Don't actually send the AddMatch D-Bus call for this signal subscription.

This gives you more control over which match rules you add (but you must add them manually).

SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE 

Match first arguments that contain a bus or interface name with the given namespace.

SIGNAL_FLAGS_MATCH_ARG0_PATH 

Match first arguments that contain an object path that is either equivalent to the given path, or one of the paths is a subpath of the other.

◆ SubtreeFlags

Enumerator
SUBTREE_FLAGS_NONE 

No flags set.

SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES 

Method calls to objects not in the enumerated range will still be dispatched.

This is useful if you want to dynamically spawn objects in the subtree.

Function Documentation

◆ unown_name()

void Gio::DBus::unown_name ( guint  owner_id)

Stops owning a name.

Parameters
owner_idAn identifier obtained from own_name().