~cyphermox/ubuntu/natty/connman/release-0.64

« back to all changes in this revision

Viewing changes to doc/manager-api.txt

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2010-11-30 15:51:10 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: mathieu.trudel-lapierre@canonical.com-20101130155110-32g0usyc4jbl131x
New upstream release 0.64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Manager hierarchy
2
2
=================
3
3
 
4
 
Service         org.moblin.connman
5
 
Interface       org.moblin.connman.Manager
 
4
Service         net.connman
 
5
Interface       net.connman.Manager
6
6
Object path     /
7
7
 
8
8
Methods         dict GetProperties()
69
69
 
70
70
                        Possible Errors: [service].Error.InvalidArguments
71
71
 
72
 
                arracy{object,dict} GetServices()
 
72
                array{object,dict} GetServices()
73
73
 
74
74
                        Returns a sorted list of tuples with service
75
75
                        object path and dictionary of service properties.
117
117
 
118
118
                        Possible Errors: [service].Error.InvalidArguments
119
119
 
 
120
                object ConnectProvider(dict provider)
 
121
 
 
122
                        Connect to a VPN specified by the given provider
 
123
                        properties.
 
124
 
 
125
                        When successful this method will return the object
 
126
                        path of the VPN service object.
 
127
 
 
128
                        This method can also be used to connect to an
 
129
                        already existing VPN.
 
130
 
 
131
                        This method call will only return in case of an
 
132
                        error or when the service is fully connected. So
 
133
                        setting a longer D-Bus timeout might be a really
 
134
                        good idea.
 
135
 
 
136
                        Possible Errors: [service].Error.InvalidArguments
 
137
 
120
138
                void RegisterAgent(object path)
121
139
 
122
140
                        Register new agent for handling user requests.