Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

Latest commit

 

History

History
59 lines (35 loc) · 1.47 KB

processor.md

File metadata and controls

59 lines (35 loc) · 1.47 KB

Module processor

The processor module is used when a processor is not found.

Description

This module is used when a processor is not found. The stanza is sent to this module and the module report to the logs or reply to the stanza with a 'feature-not-implemented'.

Function Index

process_iq/1Process the IQ stanza.
process_message/1Process the message stanza.
process_presence/1Process the presence stanza.

Function Details

process_iq/1


process_iq(Params::#params{}) -> ok

Process the IQ stanza. Returns a feature-not-implemented error.

process_message/1


process_message(Message::#message{}) -> ok

Process the message stanza. Drops the message.

process_presence/1


process_presence(Presence::#presence{}) -> ok

Process the presence stanza. Drops the message.