Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module ssl :: Class Connection |
|
Logger
--+ |FileDescriptor
--+ |Ephemeral
--+ |Connection
--+ | Connection
Server
,
Client
Method Summary | |
---|---|
(inherited from Connection )
| |
(inherited from Ephemeral )
| |
(inherited from Ephemeral )
| |
See abstract.FileDescriptor.connectionLost(). (inherited from Connection )
| |
See tcp.Connection.doRead for details. | |
Called when data is available for writing. | |
File Descriptor number for select(). (inherited from FileDescriptor )
| |
Return the certificate for the peer. | |
(inherited from Connection )
| |
(inherited from Logger )
| |
Return the prefix to log with when I own the logging thread. (inherited from Connection )
| |
Close the connection at the next available opportunity. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
(inherited from Connection )
| |
Start waiting for read availability. (inherited from FileDescriptor )
| |
Start waiting for write availability. (inherited from FileDescriptor )
| |
Stop consuming data. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
Stop waiting for read availability. (inherited from FileDescriptor )
| |
Stop waiting for write availability. (inherited from FileDescriptor )
| |
Stop consuming data from a producer, without disconnecting. (inherited from FileDescriptor )
| |
Reliably write some data. (inherited from FileDescriptor )
| |
(inherited from FileDescriptor )
| |
See tcp.Connection.writeSomeData for details. | |
Called to close our socket. | |
(inherited from Logger )
| |
Gets called after loseConnection(), after buffered data is sent. |
Class Variable Summary | |
---|---|
tuple |
__implements__
|
int |
readBlockedOnWrite
|
int |
sslShutdown
|
int |
writeBlockedOnRead
|
Method Details |
---|
doRead(self)See tcp.Connection.doRead for details.
|
doWrite(self)Called when data is available for writing. A result that is true (which will be a negative number) implies the connection was lost. A false result implies the connection is still there; a result of 0 implies no write was done, and a result of None indicates that a write was done.
|
getPeerCertificate(self)Return the certificate for the peer. |
writeSomeData(self, data)See tcp.Connection.writeSomeData for details. |
_closeSocket(self)Called to close our socket.
|
_postLoseConnection(self)Gets called after loseConnection(), after buffered data is sent. We close the SSL transport layer, and if the other side hasn't closed it yet we start reading, waiting for a ZeroReturnError which will indicate the SSL shutdown has completed. |
Class Variable Details |
---|
readBlockedOnWrite
|
sslShutdown
|
writeBlockedOnRead
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:15 2003 | http://epydoc.sf.net |