sab39

... indistinguishable from magic
effing the ineffable since 1977
Dear Lazyweb

Dear Lazyweb

11/4/2006
Anyone know of a good Jabber client library for Java (that works with Free implementations) or C# (that works with Mono) - and, more significantly, some clear understandable sample code for said library to implement a bot that can talk to people and react to things said to it, and respond to their presence or absence?
Jive Software Smack
By Patrick at 2006/11/04 21:00

Jive Software's smack library might be what you are looking for.

Wow
By Stuart at 2006/11/04 21:08

Yes, from looking at the Javadocs, that seems extraordinarily close to exactly what I was hoping for. Thank you!

Hmm one curious omission?
By Stuart at 2006/11/04 21:17

I don't (yet) see a way to register a listener to react when *anyone* talks to you - without knowing in advance who it'll be. The only place I can see to react to incoming messages is in the Chat class which must be created manually for a particular user. What am I missing?

Check the Spark client?
By James Stansell at 2006/11/06 11:01

The Spark client uses Smack, and knows how to accept messages from users you haven't been chatting with. I assume it doesn't pre-create a Chat object for every user in the contacts list.

Add a comment:
Subject:
Name:
Email:
Url:
Title: Don't enter anything here if you're a human.
CAPTCHA: Don't enter anything here if you're a human.
Comment: