Home | Trees | Index | Help |
---|
Package pyGlobus :: Module io :: Class GSIFile |
|
GSIInfile
,
GSIOutfile
Method Summary | |
---|---|
Initialize a GSIFile class. | |
Close the socket if it is still open | |
Close the associated socket. | |
In theory, flush any pending output. | |
Read size bytes, returning a string. | |
Read a line, and return it. | |
Shutdown the associated socket. | |
Write a string to the socket. |
Method Details |
---|
__init__(self,
sock,
mode)
Initialize a GSIFile class. the sock argument should be a
GSITCPSocket. The mode argument is interpreted as for a file object,
except that only 'r' and 'w' are meaningful.
|
__del__(self)
Close the socket if it is still open
|
close(self)Close the associated socket. |
flush(self)In theory, flush any pending output. In practice, this does nothing. |
read(self, size=0, waitForBytes=-1)Read size bytes, returning a string.
|
readline(self)Read a line, and return it. |
shutdown(self, n)Shutdown the associated socket. |
write(self, str)Write a string to the socket. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 4 14:32:55 2006 | http://epydoc.sf.net |