NetworkManager/callouts/nm-dispatcher.xml
Dan Williams 74e56e23e8 2008-04-27 Dan Williams <dcbw@redhat.com>
* callouts/Makefile.am
	  callouts/nm-dispatcher-action.c
	  callouts/nm-dispatcher-action.h
	  callouts/nm-dispatcher.conf
	  callouts/nm-dispatcher.xml
	  callouts/org.freedesktop.nm_dispatcher.service
		- Re-implement the dispatcher as a system-bus activated service that
			NM calls on-demand, rather than an always running daemon

	* src/Makefile.am
		- Add callouts dir to includes to pick up dispatcher defines

	* src/nm-device.c
		- (nm_device_state_changed): call dispatcher on device activated/
			deactivated

	* src/vpn-manager/nm-vpn-connection.c
		- (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
			go up and down

	* src/NetworkManagerUtils.c
	  src/NetworkManagerUtils.h
		- (nm_utils_call_dispatcher): helper to call dispatcher



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3607 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-27 14:30:06 +00:00

38 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.nm_dispatcher">
<method name="Action">
<tp:docstring>
INTERNAL; not public API. Perform an action.
</tp:docstring>
<arg name="action" type="s" direction="in">
<tp:docstring>
The action being performed.
</tp:docstring>
</arg>
<arg name="connection" type="a{sa{sv}}" direction="in">
<tp:docstring>
The connection for which this action was triggered.
</tp:docstring>
</arg>
<arg name="connection_properties" type="a{sv}" direction="in">
<tp:docstring>
Properties of the connection, including service and path.
</tp:docstring>
</arg>
<arg name="device_properties" type="a{sv}" direction="in">
<tp:docstring>
Properties of the device, including type, path, interface, and state.
</tp:docstring>
</arg>
</method>
</interface>
</node>