Home | Trees | Index | Help |
---|
Package beepy :: Package transports :: Module tls :: Class TLSProtocol |
|
BaseProtocol
--+ |Protocol
--+ |LineReceiver
--+ |BeepProtocol
--+ | TLSProtocol
TLSClientProtocol
,
TLSServerProtocol
Method Summary | |
---|---|
start the TLS layer | |
Inherited from BeepProtocol | |
| |
| |
| |
Called when a connection is made. | |
Performs transport specific channel creation | |
Performs transport specific channel deletion | |
| |
Search for a frame in the databuffer. | |
| |
This method examines the local data queues to see if there is pending data that didn't fit within a window for a given channel. | |
Perform window size management for inbound SEQ frames. | |
Override this for when raw data is received. | |
sendFrame is used to push frames over the transport. | |
sendMessage is used to send a Message as one or more Frames over the transport. | |
Send the final frame in a sequence of fragments. | |
Send a message fragment by setting the continuation indicator for the frame. | |
This is the simplest tuning. | |
Inherited from LineReceiver | |
Clear buffered data. | |
Protocol.dataReceived. | |
Called when the maximum line length has been reached. | |
Override this for when each line is received. | |
Sends a line to the other end of the connection. | |
Sets the line-mode of this receiver. | |
Sets the raw mode of this receiver. | |
Inherited from Protocol | |
(Deprecated) | |
Inherited from BaseProtocol | |
Make a connection to a transport and a server. |
Class Variable Summary | |
---|---|
int |
TLS = 0 |
Inherited from LineReceiver | |
str |
delimiter : The line-ending delimiter to use. |
int |
line_mode = 1 |
int |
MAX_LENGTH : The maximum length of a line to allow (If a sent line is longer than
this, the connection is dropped). |
str |
_LineReceiver__buffer = ''
|
Inherited from Protocol | |
tuple |
__implements__ = (<class 'twisted.internet.interfaces.IP...
|
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
Method Details |
---|
startTLS(self)start the TLS layer |
Class Variable Details |
---|
TLS
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 | http://epydoc.sf.net |