|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.DebugClients.Ruby.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.Ruby.AsyncIO</h1> |
|
23 <p> |
|
24 File implementing 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><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Modules</h3> |
|
35 <table> |
|
36 <tr> |
|
37 <td><a href="#AsyncIO">AsyncIO</a></td> |
|
38 <td>Module implementing asynchronous reading and writing.</td> |
|
39 </tr> |
|
40 </table> |
|
41 <h3>Functions</h3> |
|
42 <table> |
|
43 <tr><td>None</td></tr> |
|
44 </table> |
|
45 <hr /><hr /> |
|
46 <a NAME="AsyncIO" ID="AsyncIO"></a> |
|
47 <h2>AsyncIO</h2> |
|
48 <p> |
|
49 Module implementing asynchronous reading and writing. |
|
50 </p> |
|
51 <h3>Module Attributes</h3> |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Classes</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Functions</h3> |
|
60 <table> |
|
61 <tr> |
|
62 <td><a href="#AsyncIO.disconnect">disconnect</a></td> |
|
63 <td>Function to disconnect any current connection.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#AsyncIO.initializeAsyncIO">initializeAsyncIO</a></td> |
|
66 <td>Function to initialize the module.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#AsyncIO.readReady">readReady</a></td> |
|
69 <td>Function called when there is data ready to be read.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#AsyncIO.setDescriptors">setDescriptors</a></td> |
|
72 <td>Function called to set the descriptors for the connection.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#AsyncIO.write">write</a></td> |
|
75 <td>Function to write a string.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#AsyncIO.writeReady">writeReady</a></td> |
|
78 <td>Function called when we are ready to write data.</td> |
|
79 </tr> |
|
80 </table> |
|
81 <hr /> |
|
82 |
|
83 <a NAME="AsyncIO.disconnect" ID="AsyncIO.disconnect"></a> |
|
84 <h4>AsyncIO.disconnect</h4> |
|
85 <b>disconnect</b>(<i></i>) |
|
86 <p> |
|
87 Function to disconnect any current connection. |
|
88 </p><a NAME="AsyncIO.initializeAsyncIO" ID="AsyncIO.initializeAsyncIO"></a> |
|
89 <h4>AsyncIO.initializeAsyncIO</h4> |
|
90 <b>initializeAsyncIO</b>(<i></i>) |
|
91 <p> |
|
92 Function to initialize the module. |
|
93 </p><a NAME="AsyncIO.readReady" ID="AsyncIO.readReady"></a> |
|
94 <h4>AsyncIO.readReady</h4> |
|
95 <b>readReady</b>(<i></i>) |
|
96 <p> |
|
97 Function 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>wfd</i>) |
|
106 <p> |
|
107 Function called to set the descriptors for the connection. |
|
108 </p><dl> |
|
109 <dt><i>fd</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></i>) |
|
119 <p> |
|
120 Function 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></i>) |
|
129 <p> |
|
130 Function 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> |