summaryrefslogtreecommitdiff
path: root/docs/reference/html/Server.html
blob: fb8d9844e57ca7941cd24e6e009e9524b444a91e (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>org.freedesktop.Gypsy.Server</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="Gypsy Reference Manual">
<link rel="up" href="gypsy-server-interfaces.html" title="Gypsy Server Interface">
<link rel="prev" href="gypsy-server-interfaces.html" title="Gypsy Server Interface">
<link rel="next" href="gypsy-client-interfaces.html" title="Gypsy Client Interface">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="reference" href="rn01.html" title="Gypsy Overview">
<link rel="reference" href="rn02.html" title="Tutorials">
<link rel="chapter" href="ch01.html" title="Programming Gypsy With Python">
<link rel="reference" href="gypsy-server-interfaces.html" title="Gypsy Server Interface">
<link rel="reference" href="gypsy-client-interfaces.html" title="Gypsy Client Interface">
<link rel="reference" href="rn05.html" title="LibGypsy API Reference">
<link rel="chapter" href="ch02.html" title="Gypsy-Daemon Control">
<link rel="chapter" href="ch03.html" title="GPS Data Objects">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gypsy-server-interfaces.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="gypsy-server-interfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Gypsy Reference Manual</th>
<td><a accesskey="n" href="gypsy-client-interfaces.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2583076" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2582981" class="shortcut">Description</a>
                  &#160;|&#160;
                  <a href="#id2582949" class="shortcut">Implemented Interfaces</a>
                  &#160;|&#160;
                  <a href="#id2582966" class="shortcut">Properties</a>
                  &#160;|&#160;
                  <a href="#id2583120" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="Server"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2583076"></a><span class="refentrytitle">org.freedesktop.Gypsy.Server</span>
</h2>
<p>org.freedesktop.Gypsy.Server &#8212; Server interface</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis">Create   (in  's'device,
          out 'o'path)
Shutdown (in  'o'path)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2583120"></a><h2>Signals</h2>
<pre class="synopsis"></pre>
</div>
<div class="refsect1" lang="en">
<a name="id2582949"></a><h2>Implemented Interfaces</h2>
<p>org.freedesktop.Gypsy.Server implements
    org.freedesktop.DBus.Introspectable,
    org.freedesktop.DBus.Properties
    </p>
</div>
<div class="refsect1" lang="en">
<a name="id2582966"></a><h2>Properties</h2>
<pre class="synopsis"></pre>
</div>
<div class="refsect1" lang="en">
<a name="id2582981"></a><h2>Description</h2>
<p>
      </p>
<p>
        The Server object is used to connect to and obtain the object path of
        specific GPS devices.
      </p>
<p>
    </p>
</div>
<div class="refsect1" lang="en">
<a name="id2566624"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2566634"></a><h3>
<a name="Server.Create"></a>Create ()</h3>
<a class="indexterm" name="id2566643"></a><pre class="programlisting">Create (in  's' device,
        out 'o' path)</pre>
          Connect to the specified GPS device, and create an object implementing
          the <a href="gypsy-client-interfaces.html" title="Gypsy Client Interface">Gypsy Client Interface</a>.
        <div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>device</code></em>:</span></td>
<td><p>
            A string identifying the device to connect to. For Bluetooth devices
            this is the Bluetooth address (such as 00:11:22:33:44:55), for
            serial devices it is the device node (such as /dev/ttyS0).
          </p></td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>path</code></em>:</span></td>
<td><p>
            The object path of the GPS device.
          </p></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584280"></a><h3>
<a name="Server.Shutdown"></a>Shutdown ()</h3>
<a class="indexterm" name="id2584289"></a><pre class="programlisting">Shutdown (in  'o' path)</pre>
          Disconnect from the specified GPS device.
        <div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><em class="parameter"><code>path</code></em>:</span></td>
<td><p>
            The object path of the GPS device.
          </p></td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2584314"></a><h2>Signal Details</h2>
</div>
<div class="refsect1" lang="en">
<a name="id2584327"></a><h2>Property Details</h2>
</div>
</div>
</body>
</html>