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