Documentation/Source/eric5.DebugClients.Python.AsyncIO.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
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 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115; &#111;&#102; &#97;&#110; &#97;&#115;y&#110;&#99;&#104;&#114;&#111;&#110;&#111;&#117;&#115; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#102;&#111;&#114; &#116;&#104;&#101; &#100;&#101;&#98;&#117;&#103;&#103;&#101;&#114;. 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>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#115;y&#110;&#99;&#104;&#114;&#111;&#110;&#111;&#117;&#115; &#114;&#101;&#97;&#100;&#105;&#110;&#103; &#97;&#110;&#100; w&#114;&#105;&#116;&#105;&#110;&#103;.</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 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#115;y&#110;&#99;&#104;&#114;&#111;&#110;&#111;&#117;&#115; &#114;&#101;&#97;&#100;&#105;&#110;&#103; &#97;&#110;&#100; w&#114;&#105;&#116;&#105;&#110;&#103;. 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>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#105;&#115;&#99;&#111;&#110;&#110;&#101;&#99;&#116; &#97;&#110;y &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;.</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101;&#114;&#101; &#105;&#115; &#100;&#97;&#116;&#97; &#114;&#101;&#97;&#100;y &#116;&#111; &#98;&#101; &#114;&#101;&#97;&#100;.</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;.</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103;.</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>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; w&#101; &#97;&#114;&#101; &#114;&#101;&#97;&#100;y &#116;&#111; w&#114;&#105;&#116;&#101; &#100;&#97;&#116;&#97;.</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 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 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 &#116;&#104;&#101; &#111;&#112;&#116;&#105;&#111;&#110;&#97;&#108; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) (&#105;&#103;&#110;&#111;&#114;&#101;&#100;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#105;&#115;&#99;&#111;&#110;&#110;&#101;&#99;&#116; &#97;&#110;y &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;. 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#116;&#104;&#101;&#114;&#101; &#105;&#115; &#100;&#97;&#116;&#97; &#114;&#101;&#97;&#100;y &#116;&#111; &#98;&#101; &#114;&#101;&#97;&#100;. 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 &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#104;&#97;&#116; &#104;&#97;&#115; &#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; &#114;&#101;&#97;&#100; (&#105;&#110;&#116;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#99;&#111;&#110;&#110;&#101;&#99;&#116;&#105;&#111;&#110;. 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 &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#111;&#102; &#116;&#104;&#101; &#105;&#110;&#112;&#117;&#116; &#102;&#105;&#108;&#101; (&#105;&#110;&#116;) 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 &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#111;&#102; &#116;&#104;&#101; &#111;&#117;&#116;&#112;&#117;&#116; &#102;&#105;&#108;&#101; (&#105;&#110;&#116;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103;. 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 &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; w&#114;&#105;&#116;&#116;&#101;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;) 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 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; w&#101; &#97;&#114;&#101; &#114;&#101;&#97;&#100;y &#116;&#111; w&#114;&#105;&#116;&#101; &#100;&#97;&#116;&#97;. 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 &#102;&#105;&#108;&#101; &#100;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#111;&#114; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#104;&#97;&#116; &#104;&#97;&#115; &#100;&#97;&#116;&#97; &#116;&#111; &#98;&#101; w&#114;&#105;&#116;&#116;&#101;&#110; (&#105;&#110;&#116;) 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>

eric ide

mercurial