Home | Trees | Index | Help |
---|
Package beepy :: Package transports :: Module tcp :: Class SASLServerProtocol |
|
BaseProtocol
--+ |Protocol
--+ |LineReceiver
--+ |BeepProtocol
--+ |Session
--+ | | |Listener
--+ | | |Session
--+ | | | | |SASLSession
--+ | | |SASLListener
--+ | SASLServerProtocol
Method Summary | |
---|---|
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. | |
Inherited from Listener | |
Listeners only start even numbered channels. | |
Inherited from SASLSession | |
| |
| |
This is a callback that should be overloaded in servers or clients for when authentication information is required. | |
This is a callback that should be overloaded in servers or client for when authentication information is required. | |
Inherited from Session | |
What to do if a channel close fails | |
Override this method to receive notification of channel closure | |
Action to take when a positive RPY to a channel start message is received. | |
Action to take when a negative RPY to a channel start message is received. | |
Attempts to close all channels on this Session | |
requestCloseChannel() attempts to close a channel. | |
Creates a new channel with the given channel number and binds the given profile to it for processing. | |
Attempts to create a channel given a list of possible profiles to bind to the channel. | |
Create the Channel 0 for the Session. | |
Attempt to delete all channels on the session | |
Delete a single channel from the Session | |
Get the channel object associated with a given channelnum | |
Get the state of a particular channel. | |
Returns this session's profile dictionary. | |
This is a callback from the management profile to trigger processing once the connection greeting is received from the remote end. | |
This method provides a way of figuring out if a channel is running. | |
Attempt to start a new Channel with a given profile. | |
Allocate a given frame to the channel it belongs to and call the channel's processing method. | |
Use this callback from your profiles to communicate with your apps when an ANS frame is received. | |
Use this callback from your profiles to communicate with your apps when a MSG frame is received. | |
Attempts to close all the channels in a session before closing down the session itself. | |
Called when the Session has completed its shutdown | |
startChannel() attempts to start a new channel for communication. | |
Called by a profile when a tuning reset process begins. | |
A tuning reset causes all channels, including channel Zero to be closed and a new channel zero to be created, with a new greeting sent. | |
Internal channel closure error handling | |
Internal channel closure method. | |
This method gets all pending messages from all channels one at a time and places them on the Session Outbound Queue. | |
This method provides a way of getting the channel object by number. | |
Deprecated. | |
A greeting may be received in two circumstances: | |
Checks to see if the channel has encountered an error condition. | |
reset() does a tuning reset which closes all channels and terminates the session. | |
| |
|
Class Variable Summary | |
---|---|
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 |
Inherited from SASLSession | |
NoneType |
authentid = None |
NoneType |
userid = None |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 | http://epydoc.sf.net |