Home | Trees | Index | Help |
---|
Package paramiko :: Class Channel |
|
object
--+ |Channel
--+ | Channel
Transport
. A Channel is meant to behave
like a socket, and has an API that should be indistinguishable from the
python socket API.
Method Summary | |
---|---|
Inherited from Channel | |
| |
string |
Returns a string representation of this object, for debugging. |
override me! return True if a pty of the given dimensions (for shell access, usually) can be provided | |
override me! return True if shell access will be provided | |
override me! return True if the given subsystem can be provided | |
override me! return True if the pty was resized | |
Close the channel. | |
| |
int |
Returns an OS-level file descriptor which can be used for polling and reading (but not for writing). |
string |
Get the name of this channel that was previously set by set_name . |
Request a pseudo-terminal from the server. | |
Transport
|
Return the Transport associated with this channel. |
float |
Returns the timeout in seconds (as a float) associated with socket operations, or None if no timeout is set. |
| |
| |
ChannelFile
|
Return a file-like object associated with this channel, without the non-portable side effects of fileno . |
string |
Receive data from the channel. |
boolean |
Returns true if data is ready to be read from this channel. |
Resize the pseudo-terminal. | |
int |
Send data to the channel. |
Send data to the channel, without allowing partial results. | |
Set a name for this channel. | |
Set blocking or non-blocking mode of the channel: if blocking is 0, the channel is set to non-blocking mode;
otherwise it's set to blocking mode. | |
Set a timeout on blocking read/write operations. | |
Shut down one or both halves of the connection. | |
| |
| |
you are already holding the lock | |
| |
| |
| |
| |
| |
you are already holding the lock | |
| |
| |
| |
| |
| |
| |
| |
| |
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 |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Jan 3 19:20:24 2004 | http://epydoc.sf.net |