mod_echo.cc File Reference

reflect messages sent to serverdomain/echo back to the sender (undocumented) More...

#include "jsm.h"

Functions

void mod_echo (jsmi si)

Detailed Description

reflect messages sent to serverdomain/echo back to the sender (undocumented)

This module implements some functionality useful for testing if a server can be reached. It can either be used to check if the local server is still responding or to check if there is connectivity to a remote server. It is something like a Jabber network ping, but it should not be used automatically as it will generate more load on the servers than an ICMP ping.

All messages to a resource starting with "echo" are processed. If you are using this service, please use always the resource "echo" (in small letters) and do not rely on the fact that every resource starting with "echo" (ignoring case) will generate a reflected message. (Resources are case-sensitive in XMPP!)


Function Documentation

void mod_echo ( jsmi  si  ) 

init the mod_echo module in the session manager

registers a callback to be called on messages sent to the session manager's address

Parameters:
si the session manager instance

References e_SERVER, and js_mapi_register().


Generated on Wed Mar 10 06:00:08 2010 for jabberd14 by  doxygen 1.6.1