Can we add multi packetlistener on one XMPPconnection?

Hi, there

I just start use smack to develop a chatbot project. I am just wondering if we can add multi pairs of filter and listener on one connection, so XMPPpackages can be distribute to different listeners according to different filters?

Please help. Thanks a lot!

Kevin

Absolutely.

Pony