File implementing an asynchronous file like socket interface for the debugger.
None |
AsyncFile | Class wrapping a socket object with a file interface. |
None |
<< | Synonym for write(s). |
AsyncPendingWrite | Module function to check for data to be written. |
close | Public method to close the file. |
fileno | Public method returning the file number. |
flush | Public method to write all pending bytes. |
getSock | Public method to get the socket object. |
isatty | Public method to indicate whether a tty interface is supported. |
pendingWrite | Public method that returns the number of bytes waiting to be written. |
read | Public method to read bytes from this file. |
readline | Public method to read a line from this file. |
readlines | Public method to read all lines from this file. |
seek | Public method to move the filepointer. |
tell | Public method to get the filepointer position. |
write | Public method to write a string to the file. |
writelines | Public method to write a list of strings to the file. |
Class wrapping a socket object with a file interface.
@@maxbuffersize |
@@maxtries |
None |
checkMode | Private method to check the mode. |
initialize | Constructor |
nWrite | Private method to write a specific number of pending bytes. |
None |
Private method to check the mode.
This method checks, if an operation is permitted according to the mode of the file. If it is not, an IOError is raised.
Constructor
Private method to write a specific number of pending bytes.
Synonym for write(s).
Module function to check for data to be written.
Public method to close the file.
Public method returning the file number.
Public method to write all pending bytes.
Public method to get the socket object.
Public method to indicate whether a tty interface is supported.
Public method that returns the number of bytes waiting to be written.
Public method to read bytes from this file.
Public method to read a line from this file.
Note: This method will not block and may return only a part of a line if that is all that is available.
Public method to read all lines from this file.
Public method to move the filepointer.
Public method to get the filepointer position.
Public method to write a string to the file.
Public method to write a list of strings to the file.