Is it possible to initiate a conversation via a plugin between 2 connected users?

Hi everyone,

I’m testing you plugin environment to know if we can interacts sith openfire from our solution.

What we want to do is to create a chat communication between 2 connected users from a plugin.

Is it possible and which object should I manipulate in the plugin to do that ?

How can I test if an user is connected or not ?

Thanks in advance for your answer and have nice new year 2011.

Regards,

Ludovic SMADJA