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
Method requestRemoteForwarding Undocumented
Method cancelRemoteForwarding Undocumented
Method channel_forwarded_tcpip Undocumented
Method channelClosed Called when a channel is closed.
Method _cbRemoteForwarding Undocumented
Method _ebRemoteForwarding Undocumented

Inherited from SSHConnection:

Method __init__ Undocumented
Method ssh_GLOBAL_REQUEST

The other side has made a global request. Payload:


Method ssh_REQUEST_SUCCESS Our global request succeeded. Get the appropriate Deferred and call
Method ssh_REQUEST_FAILURE Our global request failed. Get the appropriate Deferred and errback
Method ssh_CHANNEL_OPEN

The other side wants to get a channel. Payload:


Method ssh_CHANNEL_OPEN_CONFIRMATION

The other side accepted our MSG_CHANNEL_OPEN request. Payload:


Method ssh_CHANNEL_OPEN_FAILURE

The other side did not accept our MSG_CHANNEL_OPEN request. Payload:


Method ssh_CHANNEL_WINDOW_ADJUST

The other side is adding bytes to its window. Payload:


Method ssh_CHANNEL_DATA

The other side is sending us data. Payload:


Method ssh_CHANNEL_EXTENDED_DATA

The other side is sending us exteneded data. Payload:


Method ssh_CHANNEL_EOF

The other side is not sending any more data. Payload:


Method ssh_CHANNEL_CLOSE The other side is closing its end; it does not want to receive any
Method ssh_CHANNEL_REQUEST

The other side is sending a request to a channel. Payload:


Method ssh_CHANNEL_SUCCESS

Our channel request to the other other side succeeded. Payload:


Method ssh_CHANNEL_FAILURE

Our channel request to the other side failed. Payload:


Method sendGlobalRequest Send a global request for this connection. Current this is only used
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
Method sendData Send data to a channel. This should not normally be used: instead use
Method sendExtendedData Send extended data to a channel. This should not normally be used:
Method sendEOF Send an EOF (End of File) for a channel.
Method sendClose Close a channel.
Method getChannel The other side requested a channel of some sort.
Method gotGlobalRequest We got a global request. pretty much, this is just used by the client
Method _cbChannelRequest Called back if the other side wanted a reply to a channel request. If
Method _ebChannelRequest Called if the other wisde wanted a reply to the channel requeset and

Inherited from SSHService (via SSHConnection):

Method logPrefix Override this method to insert custom logging behavior. Its
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 2010-07-05 15:03:32.