Package twisted :: Package test :: Module test_conch :: Class SSHTestFalseChannel
[show private | hide private]
[frames | no frames]

Class SSHTestFalseChannel

SSHChannel --+
             |
            SSHTestFalseChannel


Method Summary
  __init__(self, localWindow, localMaxPacket, remoteWindow, remoteMaxPacket, conn)
(inherited from SSHChannel)
  addWindowBytes(self, bytes)
Called when bytes are added to the remote window. (inherited from SSHChannel)
  channelOpen(self, ignore)
  closed(self)
Called when the channel is closed. (inherited from SSHChannel)
  dataReceived(self, data)
Called when we receive data.
  eofReceived(self)
Called when the other side will send no more data. (inherited from SSHChannel)
  extReceived(self, dataType, data)
Called when we receive extended data (usually standard error). (inherited from SSHChannel)
tuple getHost(self)
Return a tuple describing out side of the connection. (inherited from SSHChannel)
tuple getPeer(self)
Return a tuple describing the other side of the connection. (inherited from SSHChannel)
  loseConnection(self)
Close the channel. (inherited from SSHChannel)
  openFailed(self, reason)
Called when the the open failed for some reason.
  request_exit_status(self, status)
bool requestReceived(self, requestType, data)
Called when a request is sent to this channel. (inherited from SSHChannel)
  write(self, data)
Write some data to the channel. (inherited from SSHChannel)
  writeExtended(self, dataType, data)
Send extended data to this channel. (inherited from SSHChannel)
  writeSequence(self, data)
Part of the Transport interface. (inherited from SSHChannel)
  _ebRequestFailed(self, reason)

Class Variable Summary
str name

Method Details

dataReceived(self, data)

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

openFailed(self, reason)

Called when the the open failed for some reason. reason.desc is a string descrption, reason.code the the SSH error code.
Parameters:
reason
           (type=error.ConchError)
Overrides:
twisted.conch.ssh.connection.SSHChannel.openFailed (inherited documentation)

Class Variable Details

name

Type:
str
Value:
'session'                                                              

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:55 2003 http://epydoc.sf.net