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