common.messagehandling (version 0.1, 9 April 2003)
index
e:\bothans\common\messagehandling.py

Various basic message handlers

 
Modules
            
logging
 
Classes
            
MessageHandler
AutoMethodMessageHandler
PeerAutoMethodMessageHandler
 
class AutoMethodMessageHandler(MessageHandler)
      A generic handler that calls method handle_tagName(msg) at reception
of a message whose root tag name is tagName giving it the message as
a parameter
 
   Methods defined here:
handleMessage(self, message)

Data and non-method functions defined here:
METHOD_PREFIX = 'handle_'
__doc__ = ' \n A generic handler that calls method ha...iving it the message as\n a parameter\n\n '
__module__ = 'common.messagehandling'
 
class MessageHandler
       
   Methods defined here:
handleMessage(self, message)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'common.messagehandling'
 
class PeerAutoMethodMessageHandler(AutoMethodMessageHandler)
       A AutoMethod Handler that will handle messages only from a specific peer
 
  
Method resolution order:
PeerAutoMethodMessageHandler
AutoMethodMessageHandler
MessageHandler

Methods defined here:
__init__(self, peer)
handleMessage(self, message)

Data and non-method functions defined here:
__doc__ = ' A AutoMethod Handler that will handle messages only from a specific peer\n '
__module__ = 'common.messagehandling'

Data and non-method functions inherited from AutoMethodMessageHandler:
METHOD_PREFIX = 'handle_'
 
Data
             __author__ = 'Michel Rasschaert <mrasschaert@neocles.com>'
__date__ = '9 April 2003'
__file__ = r'e:\bothans\common\messagehandling.pyc'
__license__ = 'This file is part of Bothans\n\n Bothans is fre...lace, Suite 330, Boston, MA 02111-1307 USA\n '
__name__ = 'common.messagehandling'
__status__ = 'alpha'
__version__ = '0.1'
log = <logging.Logger instance at 0x00A53410>
 
Author
             Michel Rasschaert <mrasschaert@neocles.com>