t.c.s.c.SSHConnection(connection.SSHConnection) : class documentation

Part of twisted.conch.scripts.conch View Source View In Hierarchy

Undocumented
Method serviceStarted called when the service is active on the transport.
Method serviceStopped called when the service is stopped, either by the connection ending or by another service being started
Method requestRemoteForwarding Undocumented
Method cancelRemoteForwarding Undocumented
Method channel_forwarded_tcpip Undocumented
Method channelClosed No summary
Method _cbRemoteForwarding Undocumented
Method _ebRemoteForwarding Undocumented

Inherited from SSHConnection:

Method __init__ Undocumented
Method ssh_GLOBAL_REQUEST No summary
Method ssh_REQUEST_SUCCESS Our global request succeeded. Get the appropriate Deferred and call it back with the packet we received.
Method ssh_REQUEST_FAILURE Our global request failed. Get the appropriate Deferred and errback it with the packet we received.
Method ssh_CHANNEL_OPEN No summary
Method ssh_CHANNEL_OPEN_CONFIRMATION No summary
Method ssh_CHANNEL_OPEN_FAILURE No summary
Method ssh_CHANNEL_WINDOW_ADJUST The other side is adding bytes to its window. Payload:: uint32 local channel number uint32 bytes to add
Method ssh_CHANNEL_DATA The other side is sending us data. Payload:: uint32 local channel number string data
Method ssh_CHANNEL_EXTENDED_DATA No summary
Method ssh_CHANNEL_EOF The other side is not sending any more data. Payload:: uint32 local channel number
Method ssh_CHANNEL_CLOSE The other side is closing its end; it does not want to receive any more data. Payload:: uint32 local channel number
Method ssh_CHANNEL_REQUEST No summary
Method ssh_CHANNEL_SUCCESS Our channel request to the other other side succeeded. Payload:: uint32 local channel number
Method ssh_CHANNEL_FAILURE Our channel request to the other side failed. Payload:: uint32 local channel number
Method sendGlobalRequest Send a global request for this connection. Current this is only used for remote->local TCP forwarding.
Method openChannel Open a new channel on this connection.
Method sendRequest Send a request to a channel.
Method adjustWindow Tell the other side that we will receive more data. This should not normally need to be called as it is managed automatically.
Method sendData Send data to a channel. This should not normally be used: instead use channel.write(data) as it manages the window automatically.
Method sendExtendedData Send extended data to a channel. This should not normally be used: instead use channel.writeExtendedData(data, dataType) as it manages the window automatically.
Method sendEOF Send an EOF (End of File) for a channel.
Method sendClose Close a channel.
Method getChannel No summary
Method gotGlobalRequest No summary
Method _cbChannelRequest Called back if the other side wanted a reply to a channel request. If the result is true, send a MSG_CHANNEL_SUCCESS. Otherwise, raise a error.ConchError
Method _ebChannelRequest Called if the other wisde wanted a reply to the channel requeset and the channel request failed.

Inherited from SSHService (via SSHConnection):

Method logPrefix Override this method to insert custom logging behavior. Its return value will be inserted in front of every line. It may be called more times than the number of output lines.
Method packetReceived called when we receive a packet on the transport
def serviceStarted(self): (source)
called when the service is active on the transport.
def serviceStopped(self): (source)
called when the service is stopped, either by the connection ending or by another service being started
def requestRemoteForwarding(self, remotePort, hostport): (source)
Undocumented
def _cbRemoteForwarding(self, result, remotePort, hostport): (source)
Undocumented
def _ebRemoteForwarding(self, f, remotePort, hostport): (source)
Undocumented
def cancelRemoteForwarding(self, remotePort): (source)
Undocumented
def channel_forwarded_tcpip(self, windowSize, maxPacket, data): (source)
Undocumented
def channelClosed(self, channel): (source)
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.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.