Hi Lou,
On Tuesday October 18 2005 15:35, Tom Panning wrote:
> Lou wrote:
> > The jabber server is jabberd (Debian package jabber 1.4.3-3).
>
> I had the same problem. gloox needs jabberd 1.4.4.
To further complete Tom's answer, gloox requires an XMPP compliant server.
On Tuesday October 18 2005 16:34, Lou wrote:
> What about jabberd 2?
Jabberd2 is sufficiently compliant to the spec.
Please note, though, that jabberd1 and jabberd2 are two completely independent
projects, sharing only (parts of) the name.
> I saw the remark in the Bot example text about it not being complete,
> that one needs to implement a ConnectionListener. My initial program
> does. Maybe a complete, working, Bot example program should be linked
> to from that page (to save cutting and pasting).
There are some more complete examples in the src/tests subdirectory.
> I was also wondering whether gloox is threadsafe. Can I spawn a thread
> to handle the event loop and then send messages asynchronously through the
> same client object in my main thread?
As Johan already pointed out, you should be able to do that without problems.
However, there are some corner cases where appropriate locking is still
needed in gloox. For example, there is a possible race condition in
Client::connect() if called more than once simultaneously.
> Is there example code to illustrate that?
Unfortunately, I don't know of any. But it shouldn't be too hard.
cheers,
Jakob
Attachment:
pgp5rwhomOXId.pgp
Description: PGP signature
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx