core.adminhandler (version 0.1, 10 April 2003)
index
e:\bothans\core\adminhandler.py

This module contains the Handler that understands messages of 
administration written in xml

 
Modules
            
common
logging
core.messages
time
 
Classes
            
common.messagehandling.PeerAutoMethodMessageHandler(common.messagehandling.AutoMethodMessageHandler)
CoreAdminHandler
 
class CoreAdminHandler(common.messagehandling.PeerAutoMethodMessageHandler)
       A generic handler that calls method cmd_tagName(msg) at reception of a
message whose root tag name is tagName giving it the message as a parameter
 
  
Method resolution order:
CoreAdminHandler
common.messagehandling.PeerAutoMethodMessageHandler
common.messagehandling.AutoMethodMessageHandler
common.messagehandling.MessageHandler

Methods defined here:
__init__(self, peer, config, pitcherrouter, ppeers)
handle_addplugin(self, message)
 Register a new plugin with the monitoring system by refering
to its plugindesc.xml file. In fact it can contains multiple plugins
definitions
handle_addservice(self, message)
 We add a new service to the monitoring system
handle_addtarget(self, message)
 We add a new target to the monitoring system
handle_listplugins(self, message)
 List all plugins registered with the monitoring system
handle_listservices(self, message)
 List all services registered with the monitoring system
handle_listtargets(self, message)
 List all targets on the monitoring system
handle_targetcmd(self, message)
 handles messages whose root is <targetcmd>
such messages always have a uid element as first child.
possible messages as XPath are 
    - target/addservice

Data and non-method functions defined here:
__doc__ = ' A generic handler that calls method cmd_tagName...tagName giving it the message as a parameter\n '
__module__ = 'core.adminhandler'

Methods inherited from common.messagehandling.PeerAutoMethodMessageHandler:
handleMessage(self, message)

Data and non-method functions inherited from common.messagehandling.AutoMethodMessageHandler:
METHOD_PREFIX = 'handle_'
 
Data
             __author__ = 'David Ferlier <david@netbsd-fr.org>'
__date__ = '10 April 2003'
__file__ = r'e:\bothans\core\adminhandler.pyc'
__license__ = 'This file is part of Bothans\n\n Bothans is fre...lace, Suite 330, Boston, MA 02111-1307 USA\n '
__name__ = 'core.adminhandler'
__status__ = 'beta'
__version__ = '0.1'
log = <logging.Logger instance at 0x00888A38>
 
Author
             David Ferlier <david@netbsd-fr.org>