~tiagosh/telepathy-qt/group-chat2

« back to all changes in this revision

Viewing changes to doc/html/a00626_source.html

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-06 04:56:14 UTC
  • Revision ID: package-import@ubuntu.com-20130606045614-inpxexo6765rnmp1
Tags: upstream-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<head>
 
6
  <title>outgoing-stream-tube-channel.h Source File</title>
 
7
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
 
8
</head>
 
9
<body>
 
10
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
11
<tr>
 
12
<td width="1">&nbsp;&nbsp;</td>
 
13
<td class="postheader" valign="center">
 
14
<a href="index.html">
 
15
<font color="#004faf">Home</font></a>&nbsp;&middot;
 
16
<a href="classes.html">
 
17
<font color="#004faf">All Classes</font></a>&nbsp;&middot;
 
18
<a href="namespaces.html">
 
19
<font color="#004faf">All Namespaces</font></a>&nbsp;&middot;
 
20
<a href="modules.html">
 
21
<font color="#004faf">Modules</font></a>&nbsp;&middot;
 
22
<a href="functions.html">
 
23
<font color="#004faf">Functions</font></a>&nbsp;&middot;
 
24
<a href="files.html">
 
25
<font color="#004faf">Files</font></a>
 
26
</td>
 
27
</tr>
 
28
</table>
 
29
<!-- Generated by Doxygen 1.7.6.1 -->
 
30
</div>
 
31
<div class="header">
 
32
  <div class="headertitle">
 
33
<div class="title">outgoing-stream-tube-channel.h</div>  </div>
 
34
</div><!--header-->
 
35
<div class="contents">
 
36
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
 
37
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef _TelepathyQt_outgoing_stream_tube_channel_h_HEADER_GUARD_</span>
 
38
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define _TelepathyQt_outgoing_stream_tube_channel_h_HEADER_GUARD_</span>
 
39
<a name="l00024"></a>00024 <span class="preprocessor"></span>
 
40
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef IN_TP_QT_HEADER</span>
 
41
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#error IN_TP_QT_HEADER</span>
 
42
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
 
43
<a name="l00028"></a>00028 <span class="preprocessor"></span>
 
44
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;TelepathyQt/StreamTubeChannel&gt;</span>
 
45
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;TelepathyQt/PendingOperation&gt;</span>
 
46
<a name="l00031"></a>00031 
 
47
<a name="l00032"></a>00032 <span class="keyword">class </span>QHostAddress;
 
48
<a name="l00033"></a>00033 <span class="keyword">class </span>QTcpServer;
 
49
<a name="l00034"></a>00034 <span class="keyword">class </span>QLocalServer;
 
50
<a name="l00035"></a>00035 
 
51
<a name="l00036"></a>00036 <span class="keyword">namespace </span>Tp
 
52
<a name="l00037"></a>00037 {
 
53
<a name="l00038"></a>00038 
 
54
<a name="l00039"></a><a class="code" href="a00300.html">00039</a> <span class="keyword">class </span>TP_QT_EXPORT <a class="code" href="a00300.html" title="The OutgoingStreamTubeChannel class represents an outgoing Telepathy channel of type StreamTube...">OutgoingStreamTubeChannel</a> : <span class="keyword">public</span> <a class="code" href="a00401.html" title="The StreamTubeChannel class represents a Telepathy channel of type StreamTube.">StreamTubeChannel</a>
 
55
<a name="l00040"></a>00040 {
 
56
<a name="l00041"></a>00041     Q_OBJECT
 
57
<a name="l00042"></a>00042     Q_DISABLE_COPY(<a class="code" href="a00300.html" title="The OutgoingStreamTubeChannel class represents an outgoing Telepathy channel of type StreamTube...">OutgoingStreamTubeChannel</a>)
 
58
<a name="l00043"></a>00043 
 
59
<a name="l00044"></a>00044 <span class="keyword">public</span>:
 
60
<a name="l00045"></a><a class="code" href="a00300.html#a7ee76e14dcce84aa8a26474edd4160f2">00045</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> <a class="code" href="a00300.html#a7ee76e14dcce84aa8a26474edd4160f2">FeatureCore</a>;
 
61
<a name="l00046"></a>00046 
 
62
<a name="l00047"></a>00047     <span class="keyword">static</span> OutgoingStreamTubeChannelPtr create(<span class="keyword">const</span> ConnectionPtr &amp;connection,
 
63
<a name="l00048"></a>00048             <span class="keyword">const</span> QString &amp;objectPath, <span class="keyword">const</span> QVariantMap &amp;immutableProperties);
 
64
<a name="l00049"></a>00049 
 
65
<a name="l00050"></a>00050     <span class="keyword">virtual</span> ~<a class="code" href="a00300.html" title="The OutgoingStreamTubeChannel class represents an outgoing Telepathy channel of type StreamTube...">OutgoingStreamTubeChannel</a>();
 
66
<a name="l00051"></a>00051 
 
67
<a name="l00052"></a>00052     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *offerTcpSocket(<span class="keyword">const</span> QHostAddress &amp;address, quint16 port,
 
68
<a name="l00053"></a>00053             <span class="keyword">const</span> QVariantMap &amp;parameters = QVariantMap());
 
69
<a name="l00054"></a>00054     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *offerTcpSocket(<span class="keyword">const</span> QTcpServer *server,
 
70
<a name="l00055"></a>00055             <span class="keyword">const</span> QVariantMap &amp;parameters = QVariantMap());
 
71
<a name="l00056"></a>00056 
 
72
<a name="l00057"></a>00057     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *offerUnixSocket(<span class="keyword">const</span> QString &amp;socketAddress,
 
73
<a name="l00058"></a>00058             <span class="keyword">const</span> QVariantMap &amp;parameters = QVariantMap(), <span class="keywordtype">bool</span> requireCredentials = <span class="keyword">false</span>);
 
74
<a name="l00059"></a>00059     <a class="code" href="a00320.html" title="The PendingOperation class is a base class for pending asynchronous operations.">PendingOperation</a> *offerUnixSocket(<span class="keyword">const</span> QLocalServer *server,
 
75
<a name="l00060"></a>00060             <span class="keyword">const</span> QVariantMap &amp;parameters = QVariantMap(), <span class="keywordtype">bool</span> requireCredentials = <span class="keyword">false</span>);
 
76
<a name="l00061"></a>00061 
 
77
<a name="l00062"></a>00062     QHash&lt;uint, Tp::ContactPtr&gt; contactsForConnections() <span class="keyword">const</span>;
 
78
<a name="l00063"></a>00063 
 
79
<a name="l00064"></a>00064     QHash&lt;QPair&lt;QHostAddress,quint16&gt;, uint&gt; connectionsForSourceAddresses() <span class="keyword">const</span>;
 
80
<a name="l00065"></a>00065     QHash&lt;uchar, uint&gt; connectionsForCredentials() <span class="keyword">const</span>;
 
81
<a name="l00066"></a>00066 
 
82
<a name="l00067"></a>00067 <span class="keyword">protected</span>:
 
83
<a name="l00068"></a>00068     <a class="code" href="a00300.html" title="The OutgoingStreamTubeChannel class represents an outgoing Telepathy channel of type StreamTube...">OutgoingStreamTubeChannel</a>(<span class="keyword">const</span> ConnectionPtr &amp;connection, <span class="keyword">const</span> QString &amp;objectPath,
 
84
<a name="l00069"></a>00069             <span class="keyword">const</span> QVariantMap &amp;immutableProperties,
 
85
<a name="l00070"></a>00070             <span class="keyword">const</span> <a class="code" href="a00227.html" title="The Feature class represents a feature that can be enabled on demand.">Feature</a> &amp;coreFeature = <a class="code" href="a00300.html#a7ee76e14dcce84aa8a26474edd4160f2">OutgoingStreamTubeChannel::FeatureCore</a>);
 
86
<a name="l00071"></a>00071 
 
87
<a name="l00072"></a>00072 <span class="keyword">private</span> Q_SLOTS:
 
88
<a name="l00073"></a>00073     TP_QT_NO_EXPORT <span class="keywordtype">void</span> onNewRemoteConnection(uint contactId,
 
89
<a name="l00074"></a>00074             <span class="keyword">const</span> QDBusVariant &amp;parameter, uint connectionId);
 
90
<a name="l00075"></a>00075     TP_QT_NO_EXPORT <span class="keywordtype">void</span> onContactsRetrieved(<span class="keyword">const</span> QUuid &amp;uuid,
 
91
<a name="l00076"></a>00076             <span class="keyword">const</span> QList&lt;Tp::ContactPtr&gt; &amp;contacts);
 
92
<a name="l00077"></a>00077     TP_QT_NO_EXPORT <span class="keywordtype">void</span> onConnectionClosed(uint connectionId,
 
93
<a name="l00078"></a>00078             <span class="keyword">const</span> QString &amp;errorName, <span class="keyword">const</span> QString &amp;errorMessage);
 
94
<a name="l00079"></a>00079 
 
95
<a name="l00080"></a>00080 <span class="keyword">private</span>:
 
96
<a name="l00081"></a><a class="code" href="a00300.html#aae0c3bdc749df724ce4e04a647e69432">00081</a>     <span class="keyword">struct </span>Private;
 
97
<a name="l00082"></a>00082     <span class="keyword">friend</span> <span class="keyword">struct </span>PendingOpenTube;
 
98
<a name="l00083"></a><a class="code" href="a00300.html#a15a94ff2bd578e608a94d0a1ba4bd3e0">00083</a>     <span class="keyword">friend</span> <span class="keyword">struct </span>Private;
 
99
<a name="l00084"></a>00084     Private *mPriv;
 
100
<a name="l00085"></a>00085 };
 
101
<a name="l00086"></a>00086 
 
102
<a name="l00087"></a>00087 }
 
103
<a name="l00088"></a>00088 
 
104
<a name="l00089"></a>00089 <span class="preprocessor">#endif</span>
 
105
</pre></div></div><!-- contents -->
 
106
<p /><address><hr /><div align="center">
 
107
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
108
<td width="30%">Copyright &copy; 2008-2011 Collabora Ltd. and Nokia Corporation</td>
 
109
<td width="30%" align="right"><div align="right">Telepathy-Qt 0.9.3</div></td>
 
110
</tr></table></div></address>
 
111
</body>
 
112
</html>