~ted/indicator-network/add-title

« back to all changes in this revision

Viewing changes to data/nm-agent-manager.xml

  • Committer: Tarmac
  • Author(s): Pete Woods
  • Date: 2013-08-27 19:52:14 UTC
  • mfrom: (274.1.5 secret-agent)
  • Revision ID: tarmac-20130827195214-y2my0d0bibchvq6v
Move the secret agent code over into this package.

Approved by Charles Kerr, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
 
 
3
<node name="/org/freedesktop/NetworkManager/AgentManager" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
  <interface name="org.freedesktop.NetworkManager.AgentManager">
 
5
 
 
6
    <method name="Register">
 
7
      <tp:docstring>
 
8
        Called by secret Agents to register their ability to provide and save
 
9
        network secrets.
 
10
      </tp:docstring>
 
11
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_register"/>
 
12
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
13
      <arg name="identifier" type="s" direction="in">
 
14
        <tp:docstring>
 
15
          Identifies this agent; only one agent in each user session may use the
 
16
          same identifier.  Identifier formatting follows the same rules as
 
17
          D-Bus bus names with the exception that the ':' character is not
 
18
          allowed.  The valid set of characters is "[A-Z][a-z][0-9]_-." and the
 
19
          identifier is limited in length to 255 characters with a minimum
 
20
          of 3 characters.  An example valid identifier is 'org.gnome.nm-applet'
 
21
          (without quotes).
 
22
        </tp:docstring>
 
23
      </arg>
 
24
    </method>
 
25
 
 
26
    <method name="Unregister">
 
27
      <tp:docstring>
 
28
        Called by secret Agents to notify NetworkManager that they will no
 
29
        longer handle requests for network secrets.  Agents are automatically
 
30
        unregistered when they disconnect from D-Bus.
 
31
      </tp:docstring>
 
32
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_unregister"/>
 
33
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
34
    </method>
 
35
 
 
36
  </interface>
 
37
</node>
 
38