Hello.
In Smack 4.0.5 API,there are two similar methods,**addPacketInterceptor and **addPacketSendingListener**.**
So,I wander,what different between them.
Thanks.
Hello.
In Smack 4.0.5 API,there are two similar methods,**addPacketInterceptor and **addPacketSendingListener**.**
So,I wander,what different between them.
Thanks.
Basically Interceptors are called before the stanza (packet) is send, listeners after it is put in the send queue.