mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bernd.fonderm...@gmail.com>
Subject Re: How to extent MessageHandler
Date Fri, 02 Nov 2012 08:02:28 GMT
On Fri, Nov 2, 2012 at 12:38 AM, Rodrigo Ramirez <dhj684@motorola.com> wrote:
> Hi there,
> Does any one has an example showing how to extend vysper MessageHandler
> class and how it include it in the installation so it is actually used to
> process messages.
> My application's clients are cameras that receive and execute CGI messages
> from the XMPP server, so a simple example, kind of a hello world, similar
> to the MyLdapAuthentication example showing how to receive and send
> messages to a client will be greatly appreciated.

Such applications are often implemented by having a lot of "worker
XMPP clients" like cameras clients in your case and one special
"controller XMPP client" the worker clients talk to.
Then, you would just send plain messages to/from these clients leaving
the server with the role of a "communication hub".

However, the following package has all the sample code how to extend
handling on the server-side:


> Thanks,
> Rodrigo

View raw message