On Fri, Nov 2, 2012 at 12:38 AM, Rodrigo Ramirez <[email protected]> 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: http://svn.apache.org/repos/asf/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/ Bernd > > Thanks, > > Rodrigo
