I just began to work with openfire, the environment is ok, but I didn’t in the source how to send a message to the client.
For example my purpose was to catch the message text make a treatment and give a response.
I tested to make it with
- ComponentManagerFactory.getComponentManager().sendPacket() method
- PacketDeliverer.deliver(Packet packet)
I don’t know exactly where to look.
I know that my question is a wee bit vague, but every ideas are welcome.