1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 21:17:58 +01:00
Smack/smack-core/src
Florian Schmaus 15d59299a2 Reworked (send|recv)Listeners, ListenerWrapper
instead of rely on ListenerWrapper checking the PacketFilter *and*
invoking the PacketListener we now use two for-each loops, where the
first filters the PacketListeners that should get invoked and use the
second for-each loop to actually invoke the PacketListener.

Before, the code was not thread safe if a PacketListener would remove
itself from the (send|recv)Listeners.

Also make packet(Listener|Filter) in ListenerWrapper final.
2014-10-10 00:44:51 +02:00
..
integration-test Rework Smack Provider design 2014-10-08 16:01:14 +02:00
main Reworked (send|recv)Listeners, ListenerWrapper 2014-10-10 00:44:51 +02:00
test Reworked (send|recv)Listeners, ListenerWrapper 2014-10-10 00:44:51 +02:00