aboutsummaryrefslogtreecommitdiff
path: root/libcontextprovider/doc/html/class_context_provider_1_1_service_backend.html
blob: 28745ffeb1de5a539a8b5bd3734c72f9a13a8290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libcontextprovider: ContextProvider::ServiceBackend Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespace_context_provider.html">ContextProvider</a>::<a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a>
  </div>
</div>
<div class="contents">
<h1>ContextProvider::ServiceBackend Class Reference</h1><!-- doxytag: class="ContextProvider::ServiceBackend" -->A <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> is the real worker behind <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="servicebackend_8h-source.html">servicebackend.h</a>&gt;</code>
<p>

<p>
<a href="class_context_provider_1_1_service_backend-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#1b7f38d4fb4cbf12765aa718a49e7fbb">ServiceBackend</a> (QDBusConnection::BusType busType, const QString &amp;busName, QObject *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>.  <a href="#1b7f38d4fb4cbf12765aa718a49e7fbb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#7c22a78525e271a443d0b328c09a8ebb">~ServiceBackend</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroys the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>.  <a href="#7c22a78525e271a443d0b328c09a8ebb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#f0ffcd20b78a6c070b46f2a808974bf5">start</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Start the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> again after it has been stopped.  <a href="#f0ffcd20b78a6c070b46f2a808974bf5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#f580af0059e69905ee6aefa55056bdd5">stop</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stop the service. This will cause it to disappear from D-Bus.  <a href="#f580af0059e69905ee6aefa55056bdd5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#930479e3e1c5a624ac4d2d3cfc3e2d8f">restart</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If the service is running, stop and start it again.  <a href="#930479e3e1c5a624ac4d2d3cfc3e2d8f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#82665e97047e6b951704df2f78e05ed1">setConnection</a> (const QDBusConnection &amp;connection)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set (override) the dbus <em>connection</em> to use by the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>.  <a href="#82665e97047e6b951704df2f78e05ed1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#1f25b50b4abc8e8a5fbdf0b9b38f6691">setAsDefault</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> object as the default one to use when constructing <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> objects.  <a href="#1f25b50b4abc8e8a5fbdf0b9b38f6691"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#3380d860b28632814283af9cb48115ad">setValue</a> (const QString &amp;key, const QVariant &amp;val)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of <em>key</em> to <em>val</em>.  <a href="#3380d860b28632814283af9cb48115ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_context_provider_1_1_manager.html">Manager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#c2341db978f732d4a68027568db73fd0">manager</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the <a class="el" href="class_context_provider_1_1_manager.html" title="Manager implements the org.freedesktop.ContextKit.Manager DBus interface. (With the...">Manager</a> associated with this backend.  <a href="#c2341db978f732d4a68027568db73fd0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#2b33587710d46129c3554fc405e93858">ref</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Increase the reference count by one. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> calls that.  <a href="#2b33587710d46129c3554fc405e93858"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#44c270d04037efde600e3f2ba7e4188f">unref</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decrease the reference count by one. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> calls that.  <a href="#44c270d04037efde600e3f2ba7e4188f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#ea3c5b747351c370d86dd6f1bc25a022">refCount</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current reference count. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> manages that.  <a href="#ea3c5b747351c370d86dd6f1bc25a022"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#dba83a5a2a30247be68cd8485b3c6306">defaultServiceBackend</a></td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_context_provider_1_1_service_backend.html#ed41fb3009b4b10268a07c9e2fb37ece">::ServiceBackendUnitTest</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> is the real worker behind <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a>. 
<p>
Multiple <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> instances can share same <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. The backend is the actual worker that operates on dbus, has a <a class="el" href="class_context_provider_1_1_manager.html" title="Manager implements the org.freedesktop.ContextKit.Manager DBus interface. (With the...">Manager</a> and registers properties.<p>
The <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> class actually proxies all methods to the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1b7f38d4fb4cbf12765aa718a49e7fbb"></a><!-- doxytag: member="ContextProvider::ServiceBackend::ServiceBackend" ref="1b7f38d4fb4cbf12765aa718a49e7fbb" args="(QDBusConnection::BusType busType, const QString &amp;busName, QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ContextProvider::ServiceBackend::ServiceBackend           </td>
          <td>(</td>
          <td class="paramtype">QDBusConnection::BusType&nbsp;</td>
          <td class="paramname"> <em>busType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>busName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates new <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. 
<p>
The backend automatically creates it's <a class="el" href="class_context_provider_1_1_manager.html" title="Manager implements the org.freedesktop.ContextKit.Manager DBus interface. (With the...">Manager</a>. Connection is created on <a class="el" href="class_context_provider_1_1_service_backend.html#f0ffcd20b78a6c070b46f2a808974bf5" title="Start the ServiceBackend again after it has been stopped.">ServiceBackend::start()</a>. 
</div>
</div><p>
<a class="anchor" name="7c22a78525e271a443d0b328c09a8ebb"></a><!-- doxytag: member="ContextProvider::ServiceBackend::~ServiceBackend" ref="7c22a78525e271a443d0b328c09a8ebb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ContextProvider::ServiceBackend::~ServiceBackend           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destroys the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. 
<p>
The backend is stopped. If this backend is the defaultServiceBackend, the defaultServiceBackend is set back to NULL. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c2341db978f732d4a68027568db73fd0"></a><!-- doxytag: member="ContextProvider::ServiceBackend::manager" ref="c2341db978f732d4a68027568db73fd0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_context_provider_1_1_manager.html">Manager</a> * ContextProvider::ServiceBackend::manager           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the <a class="el" href="class_context_provider_1_1_manager.html" title="Manager implements the org.freedesktop.ContextKit.Manager DBus interface. (With the...">Manager</a> associated with this backend. 
<p>

</div>
</div><p>
<a class="anchor" name="2b33587710d46129c3554fc405e93858"></a><!-- doxytag: member="ContextProvider::ServiceBackend::ref" ref="2b33587710d46129c3554fc405e93858" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::ref           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Increase the reference count by one. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> calls that. 
<p>

</div>
</div><p>
<a class="anchor" name="ea3c5b747351c370d86dd6f1bc25a022"></a><!-- doxytag: member="ContextProvider::ServiceBackend::refCount" ref="ea3c5b747351c370d86dd6f1bc25a022" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ContextProvider::ServiceBackend::refCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current reference count. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> manages that. 
<p>

</div>
</div><p>
<a class="anchor" name="930479e3e1c5a624ac4d2d3cfc3e2d8f"></a><!-- doxytag: member="ContextProvider::ServiceBackend::restart" ref="930479e3e1c5a624ac4d2d3cfc3e2d8f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::restart           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the service is running, stop and start it again. 
<p>

</div>
</div><p>
<a class="anchor" name="1f25b50b4abc8e8a5fbdf0b9b38f6691"></a><!-- doxytag: member="ContextProvider::ServiceBackend::setAsDefault" ref="1f25b50b4abc8e8a5fbdf0b9b38f6691" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::setAsDefault           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> object as the default one to use when constructing <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> objects. 
<p>

</div>
</div><p>
<a class="anchor" name="82665e97047e6b951704df2f78e05ed1"></a><!-- doxytag: member="ContextProvider::ServiceBackend::setConnection" ref="82665e97047e6b951704df2f78e05ed1" args="(const QDBusConnection &amp;connection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::setConnection           </td>
          <td>(</td>
          <td class="paramtype">const QDBusConnection &amp;&nbsp;</td>
          <td class="paramname"> <em>connection</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set (override) the dbus <em>connection</em> to use by the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a>. 
<p>
When the dbus connection is specified using this function the service is NOT automatically registered on the bus. It's ok to call this function many times as long as the connection name is the same all the time. It's NOT okay to call this function more than one time with connections with different names. 
</div>
</div><p>
<a class="anchor" name="3380d860b28632814283af9cb48115ad"></a><!-- doxytag: member="ContextProvider::ServiceBackend::setValue" ref="3380d860b28632814283af9cb48115ad" args="(const QString &amp;key, const QVariant &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::setValue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QVariant &amp;&nbsp;</td>
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the value of <em>key</em> to <em>val</em>. 
<p>
A property named <em>key</em> must have been registered already, by creating a <a class="el" href="class_context_provider_1_1_property.html" title="A Property object represents a context property, i.e., a key-value pair.">Property</a> object for it. 
</div>
</div><p>
<a class="anchor" name="f0ffcd20b78a6c070b46f2a808974bf5"></a><!-- doxytag: member="ContextProvider::ServiceBackend::start" ref="f0ffcd20b78a6c070b46f2a808974bf5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ContextProvider::ServiceBackend::start           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Start the <a class="el" href="class_context_provider_1_1_service_backend.html" title="A ServiceBackend is the real worker behind Service.">ServiceBackend</a> again after it has been stopped. 
<p>
All clients will resubscribe to its properties. Returns true on success, false otherwise. 
</div>
</div><p>
<a class="anchor" name="f580af0059e69905ee6aefa55056bdd5"></a><!-- doxytag: member="ContextProvider::ServiceBackend::stop" ref="f580af0059e69905ee6aefa55056bdd5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::stop           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stop the service. This will cause it to disappear from D-Bus. 
<p>

</div>
</div><p>
<a class="anchor" name="44c270d04037efde600e3f2ba7e4188f"></a><!-- doxytag: member="ContextProvider::ServiceBackend::unref" ref="44c270d04037efde600e3f2ba7e4188f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ContextProvider::ServiceBackend::unref           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Decrease the reference count by one. <a class="el" href="class_context_provider_1_1_service.html" title="A Service object is a proxy representing a service on D-Bus that implements the Context...">Service</a> calls that. 
<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="ed41fb3009b4b10268a07c9e2fb37ece"></a><!-- doxytag: member="ContextProvider::ServiceBackend::::ServiceBackendUnitTest" ref="ed41fb3009b4b10268a07c9e2fb37ece" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class ::ServiceBackendUnitTest<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="dba83a5a2a30247be68cd8485b3c6306"></a><!-- doxytag: member="ContextProvider::ServiceBackend::defaultServiceBackend" ref="dba83a5a2a30247be68cd8485b3c6306" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_context_provider_1_1_service_backend.html">ServiceBackend</a> * <a class="el" href="class_context_provider_1_1_service_backend.html#dba83a5a2a30247be68cd8485b3c6306">ContextProvider::ServiceBackend::defaultServiceBackend</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="servicebackend_8h-source.html">servicebackend.h</a><li><a class="el" href="servicebackend_8cpp.html">servicebackend.cpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 21 16:36:23 2009 for libcontextprovider by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>