I'm trying to get started using gloox.
I created a class to do so, but my callbacks never get called.
Right now, my callbacks just print a message saying that they were
called.
I know that there is a FAQ about that which says to make sure you
register your callbacks, but mine are.
Before spending too many cycles trying to find out what I have done
wrong, I went ahead and cut-and-pasted the Bot example from the web
site because that should just work and would not be affected by any
programming errors on my part. As is, the Bot program exits with an
error about not being able to resolve example.net, which is
understandable. I changed the JID and password to my own, and the Bot
program now exihibits the same behaviour as my own.
The behavour is that it (the Bot program) spits out a SEND line and a
RECV line and then just waits forever. Jabber messages sent to that
user do not result in callbacks getting called. In fact, the jabber
server (localhost.local) never even shows a login ok or login fail in
its record.log.
There is no Debian package for gloox, at least not officially, so I
built it from the tarball. I built it against the iksemel that comes in
its Debian package (libiksemel1-dev 1.2-1). I am using g++ version 3.3.5.
The jabber server is jabberd (Debian package jabber 1.4.3-3).