Component Manager

:!: Deprecated in 0.8.0, components now use the same Prosody module API as normal modules.


This is a Prosody core module.
This module manages server components (registering/unregistering, stanza handling for components).


handle_stanza(origin, stanza)

Calls the correct component function with origin, stanza and hosts[host] arguments.
Logs every handling, unhandling or mishandling of stanza.

register_component(host, component)

Checks for host and registers the component by adding it to the components table.


doc/developers/core/component_manager.txt · Last modified: 2015/12/22 12:30 by Kim Alvefur