Package twisted :: Package scripts :: Module conch :: Class SSHSession
[frames | no frames]

Class SSHSession

SSHChannel --+
             |
            SSHSession


Method Summary
  channelOpen(self, foo)
  closed(self)
Called when the channel is closed.
  dataReceived(self, data)
Called when we receive data.
  eofReceived(self)
Called when the other side will send no more data.
  extReceived(self, t, data)
  handleInput(self, char)
  request_exit_status(self, data)
  sendEOF(self)
  startWriting(self)
Called when the remote buffer has more room, as a hint to continue writing.
  stopWriting(self)
Called when the remote buffer is full, as a hint to stop writing.
    Inherited from SSHChannel
  __init__(self, localWindow, localMaxPacket, remoteWindow, remoteMaxPacket, conn)
  __str__(self)
  addWindowBytes(self, bytes)
Called when bytes are added to the remote window.
tuple getHost(self)
Return a tuple describing our side of the connection.
tuple getPeer(self)
Return a tuple describing the other side of the connection.
  loseConnection(self)
Close the channel.
  openFailed(self, reason)
Called when the the open failed for some reason.
bool requestReceived(self, requestType, data)
Called when a request is sent to this channel.
  write(self, data)
Write some data to the channel.
  writeExtended(self, dataType, data)
Send extended data to this channel.
  writeSequence(self, data)
Part of the Transport interface.

Class Variable Summary
str name = 'session'

Method Details

closed(self)

Called when the channel is closed.
Overrides:
twisted.conch.ssh.channel.SSHChannel.closed (inherited documentation)

dataReceived(self, data)

Called when we receive data.
Parameters:
data
           (type=str)
Overrides:
twisted.conch.ssh.channel.SSHChannel.dataReceived (inherited documentation)

eofReceived(self)

Called when the other side will send no more data.
Overrides:
twisted.conch.ssh.channel.SSHChannel.eofReceived (inherited documentation)

startWriting(self)

Called when the remote buffer has more room, as a hint to continue writing.
Overrides:
twisted.conch.ssh.channel.SSHChannel.startWriting (inherited documentation)

stopWriting(self)

Called when the remote buffer is full, as a hint to stop writing. This can be ignored, but it can be helpful.
Overrides:
twisted.conch.ssh.channel.SSHChannel.stopWriting (inherited documentation)

Class Variable Details

name

Type:
str
Value:
'session'                                                              

Generated by Epydoc 2.0 on Sat Sep 13 04:20:34 2003 http://epydoc.sf.net