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

Class CommandChannel

source code

       twisted.python.log.Logger --+    
                                   |    
twisted.conch.ssh.channel.SSHChannel --+
                                       |
                                      CommandChannel

Instance Methods [hide private]
 
openFailed(self, reason)
Called when the the open failed for some reason.
source code
 
channelOpen(self, ignoredData)
Called when the channel is opened.
source code
 
dataReceived(self, data)
Called when we receive data.
source code
 
closed(self)
Called when the channel is closed.
source code

Inherited from twisted.conch.ssh.channel.SSHChannel: __init__, __str__, addWindowBytes, closeReceived, eofReceived, extReceived, getHost, getPeer, logPrefix, loseConnection, requestReceived, startWriting, stopWriting, write, writeExtended, writeSequence

Inherited from twisted.python.log.Logger: __providedBy__

Class Variables [hide private]
  name = 'session'

Inherited from twisted.python.log.Logger: __implemented__, __provides__

Method Details [hide private]

openFailed(self, reason)

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

channelOpen(self, ignoredData)

source code 
Called when the channel is opened. specificData is any data that the other side sent us when opening the channel.
Overrides: twisted.conch.ssh.channel.SSHChannel.channelOpen
(inherited documentation)

dataReceived(self, data)

source code 
Called when we receive data.
Overrides: twisted.conch.ssh.channel.SSHChannel.dataReceived
(inherited documentation)

closed(self)

source code 
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)