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

Class SshConnection

Logger --+        
         |        
SSHService --+    
             |    
 SSHConnection --+
                 |
                SshConnection


Method Summary
  __init__(self, factory)
  addCommand(self, cmd)
open a new command channel for each command in queue
  channelClosed(self, channel)
Called when a channel is closed.
  serviceStarted(self)
called when the service is active on the transport.
Inherited from SSHConnection: adjustWindow, getChannel, gotGlobalRequest, openChannel, sendClose, sendData, sendEOF, sendExtendedData, sendGlobalRequest, sendRequest, serviceStopped, ssh_CHANNEL_CLOSE, ssh_CHANNEL_DATA, ssh_CHANNEL_EOF, ssh_CHANNEL_EXTENDED_DATA, ssh_CHANNEL_FAILURE, ssh_CHANNEL_OPEN, ssh_CHANNEL_OPEN_CONFIRMATION, ssh_CHANNEL_OPEN_FAILURE, ssh_CHANNEL_REQUEST, ssh_CHANNEL_SUCCESS, ssh_CHANNEL_WINDOW_ADJUST, ssh_GLOBAL_REQUEST, ssh_REQUEST_FAILURE, ssh_REQUEST_SUCCESS
Inherited from SSHService: logPrefix, packetReceived

Class Variable Summary
Inherited from SSHConnection: name, protocolMessages
Inherited from SSHService: transport
Inherited from Logger: __implemented__, __providedBy__, __provides__

Method Details

addCommand(self, cmd)

open a new command channel for each command in queue

channelClosed(self, channel)

Called when a channel is closed. It clears the local state related to the channel, and calls channel.closed(). MAKE SURE YOU CALL THIS METHOD, even if you subclass SSHConnection. If you don't, things will break mysteriously.
Overrides:
twisted.conch.ssh.connection.SSHConnection.channelClosed (inherited documentation)

serviceStarted(self)

called when the service is active on the transport.
Overrides:
twisted.conch.ssh.connection.SSHConnection.serviceStarted (inherited documentation)

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