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

Class SSHConnection

SSHService --+    
             |    
 SSHConnection --+
                 |
                SSHConnection


Method Summary
  global_forwarded_tcp(self, windowSize, maxPacket, data)
  serviceStarted(self)
called when the service is active on the transport.
    Inherited from SSHConnection
  __init__(self)
  _cbChannelRequest(self, result, localChannel)
  _ebChannelRequest(self, result, localChannel)
  adjustWindow(self, channel, bytesToAdd)
Tell the other side that we will receive more data.
  channel_direct_tcpip(self, windowSize, maxPacket, data)
  channel_forwarded_tcp(self, windowSize, maxPacket, data)
  channel_session(self, windowSize, maxPacket, data)
subclass of SSHChannel/tuple getChannel(self, channelType, windowSize, maxPacket, data)
The other side requested a channel of some sort.
  global_cancel_tcpip_forward(self, data)
  global_tcpip_forward(data)
int/tuple gotGlobalRequest(self, requestType, data)
We got a global request.
  openChannel(self, channel, extra)
Open a new channel on this connection.
  sendClose(self, channel)
Close a channel.
  sendData(self, channel, data)
Send data to a channel.
  sendEOF(self, channel)
Send an EOF (End of File) for a channel.
  sendExtendedData(self, channel, dataType, data)
Send extended data to a channel.
  sendGlobalRequest(self, request, data, wantReply)
Send a global request for this connection.
  sendRequest(self, channel, requestType, data, wantReply)
Send a request to a channel.
  serviceStopped(self)
called when the service is stopped, either by the connection ending or by another service being started
  ssh_CHANNEL_CLOSE(self, packet)
  ssh_CHANNEL_DATA(self, packet)
  ssh_CHANNEL_EOF(self, packet)
  ssh_CHANNEL_EXTENDED_DATA(self, packet)
  ssh_CHANNEL_FAILURE(self, packet)
  ssh_CHANNEL_OPEN(self, packet)
  ssh_CHANNEL_OPEN_CONFIRMATION(self, packet)
  ssh_CHANNEL_OPEN_FAILURE(self, packet)
  ssh_CHANNEL_REQUEST(self, packet)
  ssh_CHANNEL_SUCCESS(self, packet)
  ssh_CHANNEL_WINDOW_ADJUST(self, packet)
  ssh_GLOBAL_REQUEST(self, packet)
  ssh_REQUEST_FAILURE(self, packet)
  ssh_REQUEST_SUCCESS(self, packet)
    Inherited from SSHService
  packetReceived(self, messageType, packet)
called when we receieve a packet on the transport

Class Variable Summary
    Inherited from SSHConnection
str name = 'ssh-connection'
dict protocolMessages = {96: 'MSG_CHANNEL_EOF', 97: 'MSG_CHAN...
    Inherited from SSHService
NoneType transport = None                                                                  

Method Details

serviceStarted(self)

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

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