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

Module beepy.core.constants

Constant definitions for BEEPy. Invariant data is defined here as a single reference point for common data used throughout BEEPy.

Version: $Revision: 1.8 $

Author: Justin Warren

Variable Summary
int CHANNEL_ACTIVE = 2                                                                     
int CHANNEL_CLOSING = 3                                                                     
int CHANNEL_STARTING = 1                                                                     
int CHANNEL_STOPPED = 0                                                                     
dict DataFrameTypes = {'MSG': 'MSG', 'RPY': 'RPY', 'NUL': 'NU...
NoneType DEFAULT_LOGFILE = None                                                                  
int DEFAULT_LOGLEVEL = 5                                                                     
int DEFAULT_LOGMSG_LEVEL = 5                                                                     
str DEFAULT_MIME_CONTENT_TYPE = 'application/octet-stream'
str DEFAULT_MIME_TRANSFER_ENCODING = 'binary'
str LOG_TIME_FORMAT = '%Y-%m-%d %H:%M:%S'
long MAX_ACKNO = 4294967295L
int MAX_ANSNO = 2147483647                                                            
int MAX_CHANNEL = 2147483647                                                            
int MAX_MSGNO = 2147483647                                                            
int MAX_PAYLOAD_SIZE = 16317                                                                 
long MAX_SEQNO = 4294967295L
int MAX_SIZE = 2147483647                                                            
int MAX_WINDOWSIZE = 2147483647                                                            
dict MessageType = {'MSG': 'MSG', 'RPY': 'RPY', 'NUL': 'NUL',...
int MIN_ACKNO = 0                                                                     
int MIN_ANSNO = 0                                                                     
int MIN_CHANNEL = 0                                                                     
int MIN_CHANNEL_WINDOW = 1                                                                     
int MIN_MSGNO = 0                                                                     
int MIN_SEQNO = 0                                                                     
int MIN_SIZE = 0                                                                     
int MIN_WINDOWSIZE = 1                                                                     
dict MoreTypes = {'*': '*', '.': '.'}
dict ReplyCodes = {'554': 'Transaction Failed', '200': 'Succe...
int START_WINDOWSIZE = 4096                                                                  
int TRAILER_SIZE = 5                                                                     

Variable Details

CHANNEL_ACTIVE

Type:
int
Value:
2                                                                     

CHANNEL_CLOSING

Type:
int
Value:
3                                                                     

CHANNEL_STARTING

Type:
int
Value:
1                                                                     

CHANNEL_STOPPED

Type:
int
Value:
0                                                                     

DataFrameTypes

Type:
dict
Value:
{'MSG': 'MSG', 'RPY': 'RPY', 'NUL': 'NUL', 'ERR': 'ERR', 'ANS': 'ANS'} 

DEFAULT_LOGFILE

Type:
NoneType
Value:
None                                                                  

DEFAULT_LOGLEVEL

Type:
int
Value:
5                                                                     

DEFAULT_LOGMSG_LEVEL

Type:
int
Value:
5                                                                     

DEFAULT_MIME_CONTENT_TYPE

Type:
str
Value:
'application/octet-stream'                                             

DEFAULT_MIME_TRANSFER_ENCODING

Type:
str
Value:
'binary'                                                               

LOG_TIME_FORMAT

Type:
str
Value:
'%Y-%m-%d %H:%M:%S'                                                    

MAX_ACKNO

Type:
long
Value:
4294967295L                                                            

MAX_ANSNO

Type:
int
Value:
2147483647                                                            

MAX_CHANNEL

Type:
int
Value:
2147483647                                                            

MAX_MSGNO

Type:
int
Value:
2147483647                                                            

MAX_PAYLOAD_SIZE

Type:
int
Value:
16317                                                                 

MAX_SEQNO

Type:
long
Value:
4294967295L                                                            

MAX_SIZE

Type:
int
Value:
2147483647                                                            

MAX_WINDOWSIZE

Type:
int
Value:
2147483647                                                            

MessageType

Type:
dict
Value:
{'MSG': 'MSG', 'RPY': 'RPY', 'NUL': 'NUL', 'ERR': 'ERR', 'ANS': 'ANS'} 

MIN_ACKNO

Type:
int
Value:
0                                                                     

MIN_ANSNO

Type:
int
Value:
0                                                                     

MIN_CHANNEL

Type:
int
Value:
0                                                                     

MIN_CHANNEL_WINDOW

Type:
int
Value:
1                                                                     

MIN_MSGNO

Type:
int
Value:
0                                                                     

MIN_SEQNO

Type:
int
Value:
0                                                                     

MIN_SIZE

Type:
int
Value:
0                                                                     

MIN_WINDOWSIZE

Type:
int
Value:
1                                                                     

MoreTypes

Type:
dict
Value:
{'*': '*', '.': '.'}                                                   

ReplyCodes

Type:
dict
Value:
{'200': 'Success',
 '421': 'Service Not Available',
 '450': 'Requested Action Not Taken',
 '451': 'Requested Action Aborted',
 '454': 'Temporary Authentication Failure',
 '500': 'General Syntax Error',
 '501': 'Syntax Error In Parameters',
 '504': 'Parameter Not Implemented',
...                                                                    

START_WINDOWSIZE

Type:
int
Value:
4096                                                                  

TRAILER_SIZE

Type:
int
Value:
5                                                                     

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