52 object |
52 object |
53 <h3>Class Attributes</h3> |
53 <h3>Class Attributes</h3> |
54 <table> |
54 <table> |
55 <tr><td>maxbuffersize</td></tr><tr><td>maxtries</td></tr> |
55 <tr><td>maxbuffersize</td></tr><tr><td>maxtries</td></tr> |
56 </table> |
56 </table> |
|
57 <h3>Class Methods</h3> |
|
58 <table> |
|
59 <tr><td>None</td></tr> |
|
60 </table> |
57 <h3>Methods</h3> |
61 <h3>Methods</h3> |
58 <table> |
62 <table> |
59 <tr> |
63 <tr> |
60 <td><a href="#AsyncFile.__init__">AsyncFile</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#AsyncFile.__checkMode">__checkMode</a></td> |
64 <td><a href="#AsyncFile.__checkMode">__checkMode</a></td> |
64 <td>Private method to check the mode.</td> |
65 <td>Private method to check the mode.</td> |
65 </tr><tr> |
66 </tr><tr> |
66 <td><a href="#AsyncFile.__nWrite">__nWrite</a></td> |
67 <td><a href="#AsyncFile.__nWrite">__nWrite</a></td> |
67 <td>Private method to write a specific number of pending bytes.</td> |
68 <td>Private method to write a specific number of pending bytes.</td> |
109 <td>Public method to write a string to the file.</td> |
110 <td>Public method to write a string to the file.</td> |
110 </tr><tr> |
111 </tr><tr> |
111 <td><a href="#AsyncFile.writelines">writelines</a></td> |
112 <td><a href="#AsyncFile.writelines">writelines</a></td> |
112 <td>Public method to write a list of strings to the file.</td> |
113 <td>Public method to write a list of strings to the file.</td> |
113 </tr> |
114 </tr> |
|
115 </table> |
|
116 <h3>Static Methods</h3> |
|
117 <table> |
|
118 <tr><td>None</td></tr> |
114 </table> |
119 </table> |
115 <a NAME="AsyncFile.__init__" ID="AsyncFile.__init__"></a> |
120 <a NAME="AsyncFile.__init__" ID="AsyncFile.__init__"></a> |
116 <h4>AsyncFile (Constructor)</h4> |
121 <h4>AsyncFile (Constructor)</h4> |
117 <b>AsyncFile</b>(<i>sock, mode, name</i>) |
122 <b>AsyncFile</b>(<i>sock, mode, name</i>) |
118 <p> |
123 <p> |