Package s3 :: Module s3parser :: Class S3Parsing
[frames] | no frames]

Class S3Parsing

source code

object --+
         |
        S3Parsing


Core Message Parsing Framework
- reusable functions

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
 
parser(function_name, message_id, **kwargs)
1st Stage Parser - called by msg.parse()
source code
 
parse_login(message)
Authenticate a login request
source code
 
is_session_alive(from_address)
Check whether there is an alive session from the same sender
source code
 
lookup_person(address)
Lookup a Person from an Email Address
source code
 
lookup_human_resource(address)
Lookup a Human Resource from an Email Address
source code
Properties

Inherited from object: __class__

Method Details

parser(function_name, message_id, **kwargs)
Static Method

source code 

1st Stage Parser
- called by msg.parse()

Sets the appropriate Authorisation level and then calls the
parser function from the template

parse_login(message)
Static Method

source code 

Authenticate a login request

is_session_alive(from_address)
Static Method

source code 

Check whether there is an alive session from the same sender

lookup_person(address)
Static Method

source code 

Lookup a Person from an Email Address

lookup_human_resource(address)
Static Method

source code 

Lookup a Human Resource from an Email Address