NMObject

NMObject

Synopsis

#define             NM_OBJECT_PATH
#define             NM_OBJECT_DBUS_CONNECTION
#define             NM_OBJECT_DBUS_OBJECT_MANAGER
                    NMObject;
                    NMObjectClass;
const char *        nm_object_get_path                  (NMObject *object);

Object Hierarchy

  GObject
   +----NMObject
         +----NMAccessPoint
         +----NMActiveConnection
         +----NMDevice
         +----NMDhcpConfig
         +----NMIPConfig
         +----NMRemoteConnection
         +----NMWimaxNsp

Implemented Interfaces

NMObject implements GInitable and GAsyncInitable.

Properties

  "dbus-connection"          GDBusConnection*      : Read
  "dbus-object"              GDBusObject*          : Read / Write / Construct Only
  "dbus-object-manager"      GDBusObjectManager*   : Read / Write / Construct Only
  "path"                     gchar*                : Read

Description

Details

NM_OBJECT_PATH

#define NM_OBJECT_PATH "path"


NM_OBJECT_DBUS_CONNECTION

#define NM_OBJECT_DBUS_CONNECTION "dbus-connection"


NM_OBJECT_DBUS_OBJECT_MANAGER

#define NM_OBJECT_DBUS_OBJECT_MANAGER "dbus-object-manager"


NMObject

typedef struct _NMObject NMObject;

NMObjectClass

typedef struct {
	GObjectClass parent;

	/* Methods */
	void (*init_dbus) (NMObject *object);

	/* The "object-creation-failed" method is PRIVATE for libnm and
	 * is not meant for any external usage.  It indicates that an error
	 * occured during creation of an object.
	 */
	void (*object_creation_failed) (NMObject *master_object,
	                                const char *failed_path);
} NMObjectClass;


nm_object_get_path ()

const char *        nm_object_get_path                  (NMObject *object);

Gets the DBus path of the NMObject.

object :

a NMObject

Returns :

the object's path. This is the internal string used by the object, and must not be modified.

Property Details

The "dbus-connection" property

  "dbus-connection"          GDBusConnection*      : Read

The GDBusConnection of the object.


The "dbus-object" property

  "dbus-object"              GDBusObject*          : Read / Write / Construct Only

The GDBusObject of the object.


The "dbus-object-manager" property

  "dbus-object-manager"      GDBusObjectManager*   : Read / Write / Construct Only

The GDBusObjectManager of the object.


The "path" property

  "path"                     gchar*                : Read

The D-Bus object path.

Default value: NULL