Package beepy :: Package core :: Module session
[show private | hide private]
[frames | no frames]

Module beepy.core.session

This module defines the Session layer API for BEEPy. Applications will spend a large amount of time interacting with the API defined here, in concert with beepy.channel and the transport layer.
Classes
Initiator An Initiator is a Session that initiates a connection to a ListenerManager and then communicates with the resulting Listener.
Listener A Listener is a Session that is the result of a connection to a ListenerManager.
Session A Session is the main entity relating to a BEEP peer connection.

Exceptions
ChannelZeroOutOfSequence Raised if channel 0 ever gets out of sequence.
SessionException Base exception class for Sessions.
SessionInboundQueueFull Used when the session's inbound message queue is full.
SessionOutboundQueueFull Used when the session's outbound message queue is full.
TerminateException Raised when a session encounters an error that should result in the session being terminated/dropped.
TuningReset Raised when a tuning reset should occur.

Variable Summary
int ACTIVE = 1                                                                     
int CLOSED = 4                                                                     
int CLOSING = 2                                                                     
int PRE_GREETING = 0                                                                     
int TERMINATING = 3                                                                     
int TUNING = 5                                                                     

Variable Details

ACTIVE

Type:
int
Value:
1                                                                     

CLOSED

Type:
int
Value:
4                                                                     

CLOSING

Type:
int
Value:
2                                                                     

PRE_GREETING

Type:
int
Value:
0                                                                     

TERMINATING

Type:
int
Value:
3                                                                     

TUNING

Type:
int
Value:
5                                                                     

Generated by Epydoc 2.0 on Thu Sep 30 14:39:25 2004 http://epydoc.sf.net