Documentation/Source/eric4.DebugClients.Python3.AsyncIO.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.DebugClients.Python3.AsyncIO</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.DebugClients.Python3.AsyncIO</h1>
24 <p>
25 Module implementing a base class of an asynchronous interface for the debugger.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#AsyncIO">AsyncIO</a></td>
35 <td>Class implementing asynchronous reading and writing.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="AsyncIO" ID="AsyncIO"></a>
44 <h2>AsyncIO</h2>
45 <p>
46 Class implementing asynchronous reading and writing.
47 </p>
48 <h3>Derived from</h3>
49 object
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#AsyncIO.__init__">AsyncIO</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#AsyncIO.disconnect">disconnect</a></td>
61 <td>Public method to disconnect any current connection.</td>
62 </tr><tr>
63 <td><a href="#AsyncIO.readReady">readReady</a></td>
64 <td>Public method called when there is data ready to be read.</td>
65 </tr><tr>
66 <td><a href="#AsyncIO.setDescriptors">setDescriptors</a></td>
67 <td>Public method called to set the descriptors for the connection.</td>
68 </tr><tr>
69 <td><a href="#AsyncIO.write">write</a></td>
70 <td>Public method to write a string.</td>
71 </tr><tr>
72 <td><a href="#AsyncIO.writeReady">writeReady</a></td>
73 <td>Public method called when we are ready to write data.</td>
74 </tr>
75 </table>
76 <a NAME="AsyncIO.__init__" ID="AsyncIO.__init__"></a>
77 <h4>AsyncIO (Constructor)</h4>
78 <b>AsyncIO</b>(<i></i>)
79 <p>
80 Constructor
81 </p><dl>
82 <dt><i>parent</i></dt>
83 <dd>
84 the optional parent of this object (QObject) (ignored)
85 </dd>
86 </dl><a NAME="AsyncIO.disconnect" ID="AsyncIO.disconnect"></a>
87 <h4>AsyncIO.disconnect</h4>
88 <b>disconnect</b>(<i></i>)
89 <p>
90 Public method to disconnect any current connection.
91 </p><a NAME="AsyncIO.readReady" ID="AsyncIO.readReady"></a>
92 <h4>AsyncIO.readReady</h4>
93 <b>readReady</b>(<i>fd</i>)
94 <p>
95 Public method called when there is data ready to be read.
96 </p><dl>
97 <dt><i>fd</i></dt>
98 <dd>
99 file descriptor of the file that has data to be read (int)
100 </dd>
101 </dl><a NAME="AsyncIO.setDescriptors" ID="AsyncIO.setDescriptors"></a>
102 <h4>AsyncIO.setDescriptors</h4>
103 <b>setDescriptors</b>(<i>rfd, wfd</i>)
104 <p>
105 Public method called to set the descriptors for the connection.
106 </p><dl>
107 <dt><i>rfd</i></dt>
108 <dd>
109 file descriptor of the input file (int)
110 </dd><dt><i>wfd</i></dt>
111 <dd>
112 file descriptor of the output file (int)
113 </dd>
114 </dl><a NAME="AsyncIO.write" ID="AsyncIO.write"></a>
115 <h4>AsyncIO.write</h4>
116 <b>write</b>(<i>s</i>)
117 <p>
118 Public method to write a string.
119 </p><dl>
120 <dt><i>s</i></dt>
121 <dd>
122 the data to be written (string)
123 </dd>
124 </dl><a NAME="AsyncIO.writeReady" ID="AsyncIO.writeReady"></a>
125 <h4>AsyncIO.writeReady</h4>
126 <b>writeReady</b>(<i>fd</i>)
127 <p>
128 Public method called when we are ready to write data.
129 </p><dl>
130 <dt><i>fd</i></dt>
131 <dd>
132 file descriptor of the file that has data to be written (int)
133 </dd>
134 </dl>
135 <div align="right"><a href="#top">Up</a></div>
136 <hr />
137 </body></html>

eric ide

mercurial