59 </table> |
59 </table> |
60 <h3>Functions</h3> |
60 <h3>Functions</h3> |
61 <table> |
61 <table> |
62 <tr> |
62 <tr> |
63 <td><a href="#AsyncIO.disconnect">disconnect</a></td> |
63 <td><a href="#AsyncIO.disconnect">disconnect</a></td> |
64 <td>Function to disconnect any current connection.</td> |
64 <td>Function to disconnect any current connection.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#AsyncIO.initializeAsyncIO">initializeAsyncIO</a></td> |
66 <td><a href="#AsyncIO.initializeAsyncIO">initializeAsyncIO</a></td> |
67 <td>Function to initialize the module.</td> |
67 <td>Function to initialize the module.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#AsyncIO.readReady">readReady</a></td> |
69 <td><a href="#AsyncIO.readReady">readReady</a></td> |
70 <td>Function called when there is data ready to be read.</td> |
70 <td>Function called when there is data ready to be read.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#AsyncIO.setDescriptors">setDescriptors</a></td> |
72 <td><a href="#AsyncIO.setDescriptors">setDescriptors</a></td> |
73 <td>Function called to set the descriptors for the connection.</td> |
73 <td>Function called to set the descriptors for the connection.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#AsyncIO.write">write</a></td> |
75 <td><a href="#AsyncIO.write">write</a></td> |
76 <td>Function to write a string.</td> |
76 <td>Function to write a string.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#AsyncIO.writeReady">writeReady</a></td> |
78 <td><a href="#AsyncIO.writeReady">writeReady</a></td> |
79 <td>Function called when we are ready to write data.</td> |
79 <td>Function called when we are ready to write data.</td> |
80 </tr> |
80 </tr> |
81 </table> |
81 </table> |
82 <hr /> |
82 <hr /> |
83 |
83 |
84 <a NAME="AsyncIO.disconnect" ID="AsyncIO.disconnect"></a> |
84 <a NAME="AsyncIO.disconnect" ID="AsyncIO.disconnect"></a> |
85 <h4>AsyncIO.disconnect</h4> |
85 <h4>AsyncIO.disconnect</h4> |
86 <b>disconnect</b>(<i></i>) |
86 <b>disconnect</b>(<i></i>) |
87 <p> |
87 <p> |
88 Function to disconnect any current connection. |
88 Function to disconnect any current connection. |
89 </p><a NAME="AsyncIO.initializeAsyncIO" ID="AsyncIO.initializeAsyncIO"></a> |
89 </p><a NAME="AsyncIO.initializeAsyncIO" ID="AsyncIO.initializeAsyncIO"></a> |
90 <h4>AsyncIO.initializeAsyncIO</h4> |
90 <h4>AsyncIO.initializeAsyncIO</h4> |
91 <b>initializeAsyncIO</b>(<i></i>) |
91 <b>initializeAsyncIO</b>(<i></i>) |
92 <p> |
92 <p> |
93 Function to initialize the module. |
93 Function to initialize the module. |
94 </p><a NAME="AsyncIO.readReady" ID="AsyncIO.readReady"></a> |
94 </p><a NAME="AsyncIO.readReady" ID="AsyncIO.readReady"></a> |
95 <h4>AsyncIO.readReady</h4> |
95 <h4>AsyncIO.readReady</h4> |
96 <b>readReady</b>(<i></i>) |
96 <b>readReady</b>(<i></i>) |
97 <p> |
97 <p> |
98 Function called when there is data ready to be read. |
98 Function called when there is data ready to be read. |
99 </p><dl> |
99 </p><dl> |
100 <dt><i>fd</i></dt> |
100 <dt><i>fd</i></dt> |
101 <dd> |
101 <dd> |
102 file descriptor of the file that has data to be read (int) |
102 file descriptor of the file that has data to be read (int) |
103 </dd> |
103 </dd> |
104 </dl><a NAME="AsyncIO.setDescriptors" ID="AsyncIO.setDescriptors"></a> |
104 </dl><a NAME="AsyncIO.setDescriptors" ID="AsyncIO.setDescriptors"></a> |
105 <h4>AsyncIO.setDescriptors</h4> |
105 <h4>AsyncIO.setDescriptors</h4> |
106 <b>setDescriptors</b>(<i>wfd</i>) |
106 <b>setDescriptors</b>(<i>wfd</i>) |
107 <p> |
107 <p> |
108 Function called to set the descriptors for the connection. |
108 Function called to set the descriptors for the connection. |
109 </p><dl> |
109 </p><dl> |
110 <dt><i>fd</i></dt> |
110 <dt><i>fd</i></dt> |
111 <dd> |
111 <dd> |
112 file descriptor of the input file (int) |
112 file descriptor of the input file (int) |
113 </dd><dt><i>wfd</i></dt> |
113 </dd><dt><i>wfd</i></dt> |
114 <dd> |
114 <dd> |
115 file descriptor of the output file (int) |
115 file descriptor of the output file (int) |
116 </dd> |
116 </dd> |
117 </dl><a NAME="AsyncIO.write" ID="AsyncIO.write"></a> |
117 </dl><a NAME="AsyncIO.write" ID="AsyncIO.write"></a> |
118 <h4>AsyncIO.write</h4> |
118 <h4>AsyncIO.write</h4> |
119 <b>write</b>(<i></i>) |
119 <b>write</b>(<i></i>) |
120 <p> |
120 <p> |
121 Function to write a string. |
121 Function to write a string. |
122 </p><dl> |
122 </p><dl> |
123 <dt><i>s</i></dt> |
123 <dt><i>s</i></dt> |
124 <dd> |
124 <dd> |
125 the data to be written (string) |
125 the data to be written (string) |
126 </dd> |
126 </dd> |
127 </dl><a NAME="AsyncIO.writeReady" ID="AsyncIO.writeReady"></a> |
127 </dl><a NAME="AsyncIO.writeReady" ID="AsyncIO.writeReady"></a> |
128 <h4>AsyncIO.writeReady</h4> |
128 <h4>AsyncIO.writeReady</h4> |
129 <b>writeReady</b>(<i></i>) |
129 <b>writeReady</b>(<i></i>) |
130 <p> |
130 <p> |
131 Function called when we are ready to write data. |
131 Function called when we are ready to write data. |
132 </p><dl> |
132 </p><dl> |
133 <dt><i>fd</i></dt> |
133 <dt><i>fd</i></dt> |
134 <dd> |
134 <dd> |
135 file descriptor of the file that has data to be written (int) |
135 file descriptor of the file that has data to be written (int) |
136 </dd> |
136 </dd> |
137 </dl> |
137 </dl> |
138 <div align="right"><a href="#top">Up</a></div> |
138 <div align="right"><a href="#top">Up</a></div> |
139 <hr /> |
139 <hr /> |
140 </body></html> |
140 </body></html> |