Documentation/Source/eric5.Cooperation.CooperationClient.html

changeset 3018
70924c0bdaf1
parent 2387
2d119e79ab54
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3017:6a8cb7632448 3018:70924c0bdaf1
48 <dt>cannotConnect()</dt> 48 <dt>cannotConnect()</dt>
49 <dd> 49 <dd>
50 emitted, if the initial connection fails 50 emitted, if the initial connection fails
51 </dd><dt>connectionError(message)</dt> 51 </dd><dt>connectionError(message)</dt>
52 <dd> 52 <dd>
53 emitted when a connection error occurs (string) 53 emitted when a connection error occurs
54 (string)
54 </dd><dt>editorCommand(hash, filename, message)</dt> 55 </dd><dt>editorCommand(hash, filename, message)</dt>
55 <dd> 56 <dd>
56 emitted when an editor command 57 emitted when an editor
57 has been received (string, string, string) 58 command has been received (string, string, string)
58 </dd><dt>newMessage(user, message)</dt> 59 </dd><dt>newMessage(user, message)</dt>
59 <dd> 60 <dd>
60 emitted after a new message has 61 emitted after a new message has
61 arrived (string, string) 62 arrived (string, string)
62 </dd><dt>newParticipant(nickname)</dt> 63 </dd><dt>newParticipant(nickname)</dt>
63 <dd> 64 <dd>
64 emitted after a new participant joined (string) 65 emitted after a new participant joined
66 (string)
65 </dd><dt>participantLeft(nickname)</dt> 67 </dd><dt>participantLeft(nickname)</dt>
66 <dd> 68 <dd>
67 emitted after a participant left (string) 69 emitted after a participant left (string)
68 </dd> 70 </dd>
69 </dl> 71 </dl>
176 <p> 178 <p>
177 Private slot to handle a connection error. 179 Private slot to handle a connection error.
178 </p><dl> 180 </p><dl>
179 <dt><i>socketError</i></dt> 181 <dt><i>socketError</i></dt>
180 <dd> 182 <dd>
181 reference to the error object (QAbstractSocket.SocketError) 183 reference to the error object
184 (QAbstractSocket.SocketError)
182 </dd> 185 </dd>
183 </dl><a NAME="CooperationClient.__connectionRejected" ID="CooperationClient.__connectionRejected"></a> 186 </dl><a NAME="CooperationClient.__connectionRejected" ID="CooperationClient.__connectionRejected"></a>
184 <h4>CooperationClient.__connectionRejected</h4> 187 <h4>CooperationClient.__connectionRejected</h4>
185 <b>__connectionRejected</b>(<i>msg</i>) 188 <b>__connectionRejected</b>(<i>msg</i>)
186 <p> 189 <p>
206 nick name in the format of self.nickName() (string) 209 nick name in the format of self.nickName() (string)
207 </dd> 210 </dd>
208 </dl><dl> 211 </dl><dl>
209 <dt>Returns:</dt> 212 <dt>Returns:</dt>
210 <dd> 213 <dd>
211 list of references to the connection objects (list of Connection) 214 list of references to the connection objects (list of
215 Connection)
212 </dd> 216 </dd>
213 </dl><a NAME="CooperationClient.__getParticipants" ID="CooperationClient.__getParticipants"></a> 217 </dl><a NAME="CooperationClient.__getParticipants" ID="CooperationClient.__getParticipants"></a>
214 <h4>CooperationClient.__getParticipants</h4> 218 <h4>CooperationClient.__getParticipants</h4>
215 <b>__getParticipants</b>(<i></i>) 219 <b>__getParticipants</b>(<i></i>)
216 <p> 220 <p>
231 <p> 235 <p>
232 Private slot to handle the receipt of a list of participants. 236 Private slot to handle the receipt of a list of participants.
233 </p><dl> 237 </p><dl>
234 <dt><i>participants</i></dt> 238 <dt><i>participants</i></dt>
235 <dd> 239 <dd>
236 list of participants (list of strings of "host:port") 240 list of participants (list of strings of
241 "host:port")
237 </dd> 242 </dd>
238 </dl><a NAME="CooperationClient.__readyForUse" ID="CooperationClient.__readyForUse"></a> 243 </dl><a NAME="CooperationClient.__readyForUse" ID="CooperationClient.__readyForUse"></a>
239 <h4>CooperationClient.__readyForUse</h4> 244 <h4>CooperationClient.__readyForUse</h4>
240 <b>__readyForUse</b>(<i></i>) 245 <b>__readyForUse</b>(<i></i>)
241 <p> 246 <p>
295 Public slot to disconnect from the chat network. 300 Public slot to disconnect from the chat network.
296 </p><a NAME="CooperationClient.errorString" ID="CooperationClient.errorString"></a> 301 </p><a NAME="CooperationClient.errorString" ID="CooperationClient.errorString"></a>
297 <h4>CooperationClient.errorString</h4> 302 <h4>CooperationClient.errorString</h4>
298 <b>errorString</b>(<i></i>) 303 <b>errorString</b>(<i></i>)
299 <p> 304 <p>
300 Public method to get a human readable error message about the last server error. 305 Public method to get a human readable error message about the last
301 </p><dl> 306 server error.
302 <dt>Returns:</dt> 307 </p><dl>
303 <dd> 308 <dt>Returns:</dt>
304 human readable error message about the last server error (string) 309 <dd>
310 human readable error message about the last server error
311 (string)
305 </dd> 312 </dd>
306 </dl><a NAME="CooperationClient.hasConnection" ID="CooperationClient.hasConnection"></a> 313 </dl><a NAME="CooperationClient.hasConnection" ID="CooperationClient.hasConnection"></a>
307 <h4>CooperationClient.hasConnection</h4> 314 <h4>CooperationClient.hasConnection</h4>
308 <b>hasConnection</b>(<i>senderIp, senderPort=-1</i>) 315 <b>hasConnection</b>(<i>senderIp, senderPort=-1</i>)
309 <p> 316 <p>
367 <p> 374 <p>
368 Public method to remove a connection. 375 Public method to remove a connection.
369 </p><dl> 376 </p><dl>
370 <dt><i>connection</i></dt> 377 <dt><i>connection</i></dt>
371 <dd> 378 <dd>
372 reference to the connection to be removed (Connection) 379 reference to the connection to be removed
380 (Connection)
373 </dd> 381 </dd>
374 </dl><a NAME="CooperationClient.sendEditorCommand" ID="CooperationClient.sendEditorCommand"></a> 382 </dl><a NAME="CooperationClient.sendEditorCommand" ID="CooperationClient.sendEditorCommand"></a>
375 <h4>CooperationClient.sendEditorCommand</h4> 383 <h4>CooperationClient.sendEditorCommand</h4>
376 <b>sendEditorCommand</b>(<i>projectHash, filename, message</i>) 384 <b>sendEditorCommand</b>(<i>projectHash, filename, message</i>)
377 <p> 385 <p>

eric ide

mercurial