Home | Trees | Index | Help |
---|
Package paramiko :: Module channel :: Class ChannelFile |
|
object
--+
|
ChannelFile
Channel
. A ChannelFile is created by
calling Channel.makefile
and doesn't have the
non-portable side effect of Channel.fileno
.
Bug: To correctly emulate the file object created from a socket's
makefile
method, a Channel
and its ChannelFile
should be able to be closed or garbage-collected independently.
Currently, closing the ChannelFile
does nothing but flush
the buffer.
Method Summary | |
---|---|
__init__(self,
channel,
mode,
buf_size)
| |
__iter__(self)
| |
string |
Returns a string representation of this object, for debugging. |
close(self)
| |
flush(self)
| |
next(self)
| |
read(self,
size)
| |
readline(self,
size)
| |
readlines(self,
sizehint)
| |
write(self,
str)
| |
writelines(self,
sequence)
| |
xreadlines(self)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Method Details |
---|
__repr__(self)
Returns a string representation of this object, for debugging.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sun Jan 4 02:33:11 2004 | http://epydoc.sf.net |