Home | Trees | Index | Help |
---|
Package twisted :: Package conch :: Package ssh :: Module transport :: Class SSHTransportBase |
|
BaseProtocol
--+ |Protocol
--+ | SSHTransportBase
SSHClientTransport
,
SSHServerTransport
Method Summary | |
---|---|
(Deprecated) (inherited from Protocol )
| |
connectionLost(self,
reason)
| |
Called when a connection is made. | |
Called whenever data is received. | |
getPacket(self)
| |
direction must be in ["out", "in", "both"] | |
direction must be in ["out", "in", "both"] | |
receiveDebug(self,
alwaysDisplay,
message,
lang)
| |
receiveError(self,
reasonCode,
description)
| |
receiveUnimplemented(self,
seqnum)
| |
sendDebug(self,
message,
alwaysDisplay,
language)
| |
sendDisconnect(self,
reason,
desc)
| |
sendIgnore(self,
message)
| |
sendKexInit(self)
| |
sendPacket(self,
messageType,
payload)
| |
sendUnimplemented(self)
| |
setService(self,
service)
| |
ssh_DEBUG(self,
packet)
| |
ssh_DISCONNECT(self,
packet)
| |
ssh_IGNORE(self,
packet)
| |
ssh_UNIMPLEMENTED(self,
packet)
|
Class Variable Summary | |
---|---|
str |
buf
|
str |
comment
|
NoneType |
currentEncryptions
|
int |
gotVersion
|
int |
ignoreNextPacket
|
NoneType |
incomingCompression
|
int |
incomingPacketSequence
|
int |
isAuthorized
|
str |
ourVersionString
|
NoneType |
outgoingCompression
|
int |
outgoingPacketSequence
|
str |
protocolVersion
|
NoneType |
service
|
NoneType |
sessionID
|
list |
supportedCiphers
|
list |
supportedCompressions
|
list |
supportedKeyExchanges
|
tuple |
supportedLanguages
|
list |
supportedMACs
|
list |
supportedPublicKeys
|
str |
version
|
Method Details |
---|
connectionMade(self)Called when a connection is made. This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
|
dataReceived(self, data)Called whenever data is received. Use this method to translate to a higher-level message. Usually, some callback will be made upon the receipt of each complete protocol message.
|
isEncrypted(self, direction='out')direction must be in ["out", "in", "both"] |
isVerified(self, direction='out')direction must be in ["out", "in", "both"] |
Class Variable Details |
---|
buf
|
comment
|
currentEncryptions
|
gotVersion
|
ignoreNextPacket
|
incomingCompression
|
incomingPacketSequence
|
isAuthorized
|
ourVersionString
|
outgoingCompression
|
outgoingPacketSequence
|
protocolVersion
|
service
|
sessionID
|
supportedCiphers
|
supportedCompressions
|
supportedKeyExchanges
|
supportedLanguages
|
supportedMACs
|
supportedPublicKeys
|
version
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:25:33 2003 | http://epydoc.sf.net |