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