Logo Search packages:      
Sourcecode: paramiko version File versions  Download package

paramiko::channel::Channel Class Reference

List of all members.


Detailed Description

A secure tunnel across an SSH L{Transport}.  A Channel is meant to behave
like a socket, and has an API that should be indistinguishable from the
python socket API.

Because SSH2 has a windowing kind of flow control, if you stop reading data
from a Channel and its buffer fills up, the server will be unable to send
you any more data until you read some of it.  (This won't affect other
channels on the same transport -- all channels on a single transport are
flow-controlled independently.)  Similarly, if the server isn't reading
data you send, calls to L{send} may block, unless you set a timeout.  This
is exactly like a normal network socket, so it shouldn't be too surprising.

Definition at line 37 of file channel.py.


Public Member Functions

def __del__
def __init__
def __repr__
def close
def exec_command
def fileno
def get_id
def get_name
def get_pty
def get_transport
def gettimeout
def invoke_shell
def invoke_subsystem
def makefile
def makefile_stderr
def recv
def recv_exit_status
def recv_ready
def recv_stderr
def recv_stderr_ready
def resize_pty
def send
def send_exit_status
def send_stderr
def sendall
def sendall_stderr
def set_combine_stderr
def set_name
def setblocking
def settimeout
def shutdown
def shutdown_read
def shutdown_write

Public Attributes

 active
 chanid
 closed
 combine_stderr
 eof_received
 eof_sent
 event
 exit_status
 in_buffer
 in_buffer_cv
 in_max_packet_size
 in_stderr_buffer
 in_stderr_buffer_cv
 in_window_size
 in_window_sofar
 in_window_threshold
 lock
 logger
 name
 out_buffer_cv
 out_max_packet_size
 out_window_size
 pipe
 remote_chanid
 status_event
 timeout
 transport
 ultra_debug

Static Public Attributes

int MIN_PACKET_SIZE = 1024

Private Member Functions

def _check_add_window
def _close_internal
def _feed
def _feed_extended
def _handle_close
def _handle_eof
def _handle_request
def _log
def _request_failed
def _request_success
def _send_eof
def _set_closed
def _set_remote_channel
def _set_transport
def _set_window
def _unlink
def _wait_for_send_window
def _window_adjust

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index