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