Hello! I am aimed to develop some simple messaging component, which needs to be able to send an instant message to jabber/ICQ/AIM/MSN accounts. I had successfully wrote implementation for the Jabber protocol, but I’'m lost with ICQ/etc. How can I send messages using such transports?
I installed and configured ejabberd service and pyicq-t transport seems to be up and running.
Do I also need to send those registration packets? In other words, what steps involves gateway networking?
request registration packet
send registration information with given key, username/password etc
check registration status
send presense packet?
send/receive various event
deregister
Am I correct?
I found JEP_100.java file in SVN repository, which seems to contains such steps, is it good to use this file as a reference for gateway communication modules in my application?
Okay, I was able to wrote some code, which seems to successfully register in ICQ transport, but for some reason I can’‘t send any message (message seems to be sent, but it doesn’'t appear in ICQ client)
The source class is available at http://rafb.net/p/MvqzBt46.html ( I really wandering, how is it possible to paste source code here?)
Could somebody please explain why I’'m getting org.jivesoftware.smack.PacketReader$4 class in my PacketFilter implementation, when I expect to get Registration packet?
After I send registration packet to my ICQ transport, it replies with some packet which is not known by smack, or I do miss something?