Package DataCollector :: Module SshClient :: Class CommandChannel
[show private | hide private]
[frames | no frames]

Class CommandChannel

Logger --+    
         |    
SSHChannel --+
             |
            CommandChannel


Method Summary
  __init__(self, command, conn)
  channelOpen(self, ignoredData)
  closed(self)
Called when the channel is closed.
  dataReceived(self, data)
Called when we receive data.
  openFailed(self, reason)
Called when the the open failed for some reason.
  request_exit_status(self, data)
Inherited from SSHChannel: __str__, addWindowBytes, closeReceived, eofReceived, extReceived, getHost, getPeer, logPrefix, loseConnection, requestReceived, startWriting, stopWriting, write, writeExtended, writeSequence

Class Variable Summary
str name = 'session'
Inherited from Logger: __implemented__, __providedBy__, __provides__

Method Details

closed(self)

Called when the channel is closed. This means that both our side and the remote side have closed the channel.
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)

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.channel.SSHChannel.openFailed (inherited documentation)

Class Variable Details

name

Type:
str
Value:
'session'                                                              

Generated by Epydoc 2.1 on Thu Aug 16 09:55:13 2007 http://epydoc.sf.net