~certify-web-dev/twisted/certify-trunk

« back to all changes in this revision

Viewing changes to doc/api/twisted.im.interfaces.IAccount.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2004-06-21 22:01:11 UTC
  • mto: (2.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040621220111-vkf909euqnyrp3nr
Tags: upstream-1.3.0
ImportĀ upstreamĀ versionĀ 1.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
3
          "DTD/xhtml1-transitional.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<head>
 
6
  <title>twisted.im.interfaces.IAccount</title>
 
7
  <link rel="stylesheet" href="epydoc.css" type="text/css"></link>
 
8
</head>
 
9
<body bgcolor="white" text="black" link="blue" vlink="#204080"
 
10
      alink="#204080">
 
11
 
 
12
<!-- =========== START OF NAVBAR =========== -->
 
13
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
14
  <tr valign="center">
 
15
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
16
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
17
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
18
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
19
    <th class="navbar" align="right" width="100%">
 
20
      <table border="0" cellpadding="0" cellspacing="0">
 
21
      <tr><th class="navbar" align="center">
 
22
        <p class="nomargin">
 
23
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
 
24
      </p></th></tr></table>
 
25
    </th>
 
26
  </tr>
 
27
</table>
 
28
<table width="100%" cellpadding="0" cellspacing="0">
 
29
  <tr valign="top">
 
30
    <td width="100%">
 
31
      <font size="-1"><b class="breadcrumbs">
 
32
        <a href="twisted.html">Package&nbsp;twisted</a> ::
 
33
        <a href="twisted.im.html">Package&nbsp;im</a> ::
 
34
        <a href="twisted.im.interfaces.html">Module&nbsp;interfaces</a> ::
 
35
        Class&nbsp;IAccount
 
36
      </b></font></br>
 
37
    </td>
 
38
    <td><table cellpadding="0" cellspacing="0">
 
39
      <tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a>&nbsp;|&nbsp;<a href="twisted.im.interfaces.IAccount.html" target="_top">no&nbsp;frames</a>]</font></td></tr>
 
40
    </table></td>
 
41
</tr></table>
 
42
 
 
43
<!-- =========== START OF CLASS DESCRIPTION =========== -->
 
44
<h2 class="class">Class IAccount</h2>
 
45
 
 
46
<pre class="base-tree">
 
47
<a href="twisted.python.components.Interface.html"><code>Interface</code></a> --+
 
48
            |
 
49
           <b>IAccount</b>
 
50
</pre><br />
 
51
 
 
52
<hr/>
 
53
 
 
54
I represent a user's account with a chat service.
 
55
<hr/>
 
56
 
 
57
 
 
58
<!-- =========== START OF METHOD SUMMARY =========== -->
 
59
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
60
<tr bgcolor="#70b0f0" class="summary">
 
61
  <th colspan="2">Method Summary</th></tr>
 
62
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
 
63
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#__init__" class="summary-sig-name"><code>__init__</code></a>(<span class=summary-sig-arg>self</span>,
 
64
          <span class=summary-sig-arg>accountName</span>,
 
65
          <span class=summary-sig-arg>autoLogin</span>,
 
66
          <span class=summary-sig-arg>username</span>,
 
67
          <span class=summary-sig-arg>password</span>,
 
68
          <span class=summary-sig-arg>host</span>,
 
69
          <span class=summary-sig-arg>port</span>)</span></code>
 
70
</td></tr>
 
71
<tr><td align="right" valign="top" width="15%"><font size="-1">        <a href="twisted.im.interfaces.IGroup.html" 
 
72
        class="link"><code>Group</code></a>
 
73
</font></td>
 
74
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#getGroup" class="summary-sig-name"><code>getGroup</code></a>(<span class=summary-sig-arg>self</span>,
 
75
          <span class=summary-sig-arg>groupName</span>)</span></code>
 
76
</td></tr>
 
77
<tr><td align="right" valign="top" width="15%"><font size="-1">        <a href="twisted.im.interfaces.IPerson.html" 
 
78
        class="link"><code>Person</code></a>
 
79
</font></td>
 
80
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#getPerson" class="summary-sig-name"><code>getPerson</code></a>(<span class=summary-sig-arg>self</span>,
 
81
          <span class=summary-sig-arg>personName</span>)</span></code>
 
82
</td></tr>
 
83
<tr><td align="right" valign="top" width="15%"><font size="-1">        boolean
 
84
</font></td>
 
85
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#isOnline" class="summary-sig-name"><code>isOnline</code></a>(<span class=summary-sig-arg>self</span>)</span></code>
 
86
<br />
 
87
Am I online?</td></tr>
 
88
<tr><td align="right" valign="top" width="15%"><font size="-1">&nbsp;</font></td>
 
89
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#logOff" class="summary-sig-name"><code>logOff</code></a>(<span class=summary-sig-arg>self</span>)</span></code>
 
90
<br />
 
91
Sign off.</td></tr>
 
92
<tr><td align="right" valign="top" width="15%"><font size="-1">        Deferred <code>Client</code>
 
93
</font></td>
 
94
  <td><code><span class="summary-sig"><a href="twisted.im.interfaces.IAccount.html#logOn" class="summary-sig-name"><code>logOn</code></a>(<span class=summary-sig-arg>self</span>,
 
95
          <span class=summary-sig-arg>chatui</span>)</span></code>
 
96
<br />
 
97
Go on-line.</td></tr>
 
98
</table><br />
 
99
 
 
100
 
 
101
<!-- =========== START OF INSTANCE VARIABLE SUMMARY =========== -->
 
102
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
103
<tr bgcolor="#70b0f0" class="summary">
 
104
  <th colspan="2">Instance Variable Summary</th></tr>
 
105
<tr><td align="right" valign="top" width="15%"><font size="-1"><a href="twisted.im.interfaces.IClient.html" 
 
106
          class="link"><code>IClient</code></a></font></td>
 
107
<td><b><a href="twisted.im.interfaces.IAccount.html#client"><code>client</code></a></b>: The Client currently connecting to this account, if any.</td></tr>
 
108
</table><br />
 
109
 
 
110
 
 
111
<!-- =========== START OF CLASS VARIABLE SUMMARY =========== -->
 
112
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
113
<tr bgcolor="#70b0f0" class="summary">
 
114
  <th colspan="2">Class Variable Summary</th></tr>
 
115
<tr><td align="right" valign="top" width="15%"><font size="-1">string</font></td>
 
116
<td><b><a href="twisted.im.interfaces.IAccount.html#gatewayType"><code>gatewayType</code></a></b>: Identifies the protocol used by this account.</td></tr>
 
117
</table><br />
 
118
 
 
119
 
 
120
<!-- =========== START OF METHOD DETAILS =========== -->
 
121
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
122
<tr bgcolor="#70b0f0" class="details">
 
123
  <th colspan="2">Method Details</th></tr>
 
124
</table>
 
125
 
 
126
<a name="__init__"></a>
 
127
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
128
  <h3><span class="sig"><span class="sig-name">__init__</span>(<span class=sig-arg>self</span>,
 
129
          <span class=sig-arg>accountName</span>,
 
130
          <span class=sig-arg>autoLogin</span>,
 
131
          <span class=sig-arg>username</span>,
 
132
          <span class=sig-arg>password</span>,
 
133
          <span class=sig-arg>host</span>,
 
134
          <span class=sig-arg>port</span>)</span>
 
135
    <br /><i>(Constructor)</i>
 
136
  </h3>
 
137
  <dl><dt></dt><dd>
 
138
    <dl><dt><b>Parameters:</b></dt>
 
139
      <dd><code><b>accountName</b></code> -
 
140
         A name to refer to the account by locally.
 
141
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
142
        (type=string)</i>
 
143
      <dd><code><b>autoLogin</b></code>
 
144
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
145
        (type=boolean)</i>
 
146
      <dd><code><b>username</b></code>
 
147
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
148
        (type=string)</i>
 
149
      <dd><code><b>password</b></code>
 
150
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
151
        (type=string)</i>
 
152
      <dd><code><b>host</b></code>
 
153
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
154
        (type=string)</i>
 
155
      <dd><code><b>port</b></code>
 
156
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
157
        (type=integer)</i>
 
158
      </dd>
 
159
    </dl>
 
160
  </dd></dl>
 
161
</td></tr></table>
 
162
 
 
163
<a name="getGroup"></a>
 
164
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
165
  <h3><span class="sig"><span class="sig-name">getGroup</span>(<span class=sig-arg>self</span>,
 
166
          <span class=sig-arg>groupName</span>)</span>
 
167
  </h3>
 
168
  <dl><dt></dt><dd>
 
169
    <dl><dt><b>Returns:</b></dt>
 
170
      <dd>
 
171
        <a href="twisted.im.interfaces.IGroup.html" 
 
172
        class="link"><code>Group</code></a>
 
173
      </dd>
 
174
    </dl>
 
175
  </dd></dl>
 
176
</td></tr></table>
 
177
 
 
178
<a name="getPerson"></a>
 
179
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
180
  <h3><span class="sig"><span class="sig-name">getPerson</span>(<span class=sig-arg>self</span>,
 
181
          <span class=sig-arg>personName</span>)</span>
 
182
  </h3>
 
183
  <dl><dt></dt><dd>
 
184
    <dl><dt><b>Returns:</b></dt>
 
185
      <dd>
 
186
        <a href="twisted.im.interfaces.IPerson.html" 
 
187
        class="link"><code>Person</code></a>
 
188
      </dd>
 
189
    </dl>
 
190
  </dd></dl>
 
191
</td></tr></table>
 
192
 
 
193
<a name="isOnline"></a>
 
194
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
195
  <h3><span class="sig"><span class="sig-name">isOnline</span>(<span class=sig-arg>self</span>)</span>
 
196
  </h3>
 
197
  Am I online?
 
198
  <dl><dt></dt><dd>
 
199
    <dl><dt><b>Returns:</b></dt>
 
200
      <dd>
 
201
        boolean
 
202
      </dd>
 
203
    </dl>
 
204
  </dd></dl>
 
205
</td></tr></table>
 
206
 
 
207
<a name="logOff"></a>
 
208
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
209
  <h3><span class="sig"><span class="sig-name">logOff</span>(<span class=sig-arg>self</span>)</span>
 
210
  </h3>
 
211
  Sign off.
 
212
  <dl><dt></dt><dd>
 
213
  </dd></dl>
 
214
</td></tr></table>
 
215
 
 
216
<a name="logOn"></a>
 
217
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
 
218
  <h3><span class="sig"><span class="sig-name">logOn</span>(<span class=sig-arg>self</span>,
 
219
          <span class=sig-arg>chatui</span>)</span>
 
220
  </h3>
 
221
  Go on-line.
 
222
  <dl><dt></dt><dd>
 
223
    <dl><dt><b>Parameters:</b></dt>
 
224
      <dd><code><b>chatui</b></code>
 
225
        <br /><i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
226
        (type=Implementor of <code>IChatUI</code>)</i>
 
227
      </dd>
 
228
    </dl>
 
229
    <dl><dt><b>Returns:</b></dt>
 
230
      <dd>
 
231
        Deferred <code>Client</code>
 
232
      </dd>
 
233
    </dl>
 
234
  </dd></dl>
 
235
</td></tr></table>
 
236
<br />
 
237
 
 
238
 
 
239
<!-- =========== START OF INSTANCE VARIABLE DETAILS =========== -->
 
240
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
241
<tr bgcolor="#70b0f0" class="details">
 
242
  <th colspan="2">Instance Variable Details</th></tr>
 
243
</table>
 
244
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
245
<a name="client"></a>
 
246
<h3>client</h3>
 
247
The Client currently connecting to this account, if any.
 
248
<dl>
 
249
  <dt></dt>
 
250
  <dd>
 
251
    <dl>
 
252
      <dt><b>Type:</b></dt>
 
253
      <dd>
 
254
          <a href="twisted.im.interfaces.IClient.html" 
 
255
          class="link"><code>IClient</code></a>
 
256
 
 
257
      </dd>
 
258
    </dl>
 
259
  </dd>
 
260
</dl></td></tr></table>
 
261
<br />
 
262
 
 
263
 
 
264
<!-- =========== START OF CLASS VARIABLE DETAILS =========== -->
 
265
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
266
<tr bgcolor="#70b0f0" class="details">
 
267
  <th colspan="2">Class Variable Details</th></tr>
 
268
</table>
 
269
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
270
<a name="gatewayType"></a>
 
271
<h3>gatewayType</h3>
 
272
Identifies the protocol used by this account.
 
273
<dl>
 
274
  <dt></dt>
 
275
  <dd>
 
276
    <dl>
 
277
      <dt><b>Type:</b></dt>
 
278
      <dd>
 
279
          string
 
280
 
 
281
      </dd>
 
282
    </dl>
 
283
  </dd>
 
284
</dl></td></tr></table>
 
285
<br />
 
286
 
 
287
 
 
288
<!-- =========== START OF NAVBAR =========== -->
 
289
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
290
  <tr valign="center">
 
291
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="twisted.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
292
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
293
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
294
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
295
    <th class="navbar" align="right" width="100%">
 
296
      <table border="0" cellpadding="0" cellspacing="0">
 
297
      <tr><th class="navbar" align="center">
 
298
        <p class="nomargin">
 
299
          <a class="navbar" target="_top" href="http://twistedmatrix.com/">Twisted&nbsp;1.3.0rc1</a>
 
300
      </p></th></tr></table>
 
301
    </th>
 
302
  </tr>
 
303
</table>
 
304
 
 
305
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
306
  <tr>
 
307
    <td align="left"><font size="-2">Generated by Epydoc 2.0 on Sat May 15 20:08:05 2004</font></td>
 
308
    <td align="right"><a href="http://epydoc.sourceforge.net"
 
309
                      ><font size="-2">http://epydoc.sf.net</font></a></td>
 
310
  </tr>
 
311
</table>
 
312
</body>
 
313
</html>