Home | Trees | Indices | Help |
|
---|
|
A SSL/TLS protocol wrapper to be used with Twisted. Typically you would not use this class directly. Use connectTCP, connectSSL, listenTCP, listenSSL functions defined above, which will hook in this class.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__implemented__ = <implementedBy M2Crypto.SSL.TwistedProtocolW
|
|
__provides__ = <zope.interface.declarations.ClassProvides obje
|
|
Inherited from Inherited from |
Method Details |
|
Start SSL/TLS. If this is not called, this instance just passes data through untouched. |
|
|
|
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.
|
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.
|
Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
Class Variable Details |
__implemented__
|
__provides__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 10 20:12:06 2009 | http://epydoc.sourceforge.net |