Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module ssl :: Class Connection |
|
Logger
--+ |Ephemeral
--+ |FileDescriptor
--+ |Connection
--+ | Connection
Client
,
Server
Method Summary | |
---|---|
__init__(self,
skt,
protocol,
reactor)
(inherited from Connection )
| |
__getstate__(self)
(inherited from Ephemeral )
| |
__setstate__(self,
state)
(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. | |
getTcpNoDelay(self)
(inherited from Connection )
| |
log(self,
bytes)
(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 )
| |
pauseProducing(self)
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
resumeProducing(self)
(inherited from FileDescriptor )
| |
setTcpNoDelay(self,
enabled)
(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 )
| |
stopProducing(self)
(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 )
| |
writeSequence(self,
iovec)
(inherited from FileDescriptor )
| |
See tcp.Connection.writeSomeData for details. | |
Called to close our socket. | |
_Logger__prefix(self)
(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.1 on Thu Apr 17 12:55:12 2003 | http://epydoc.sf.net |