How to register or add conversationListener?

Hi:

I will develop a plugin to listen user conversation ,and insert the conversation user to database,then provide a interface for client get the latest contacts.

the question is:

1,How to register or add conversationListener in the plugin?

2,the interface provide for client should how to do? This interface need implement what kind of protocol,and how to implement?Any advice much appreciated.

Thanks.

Hi Jaso,

Sounds like you’re trying to implement something similar to what the monitoring plugin already does; the source of the plugin is available along with the Openfire source. If you want to implement your own solution you’ll need to look into using a PacketInterceptor.

Hope that helps,

Ryan