1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 04:57:58 +01:00
Smack/smack-extensions/src
Florian Schmaus 98a3c46e9a Add XMPPConnection.createPacketcollectorAndSend(PacketFilter, Packet)
Using

createPacketCollector(filter);
sendPacket(packet);

was error prone, i.e. the PacketCollector could leak if sendPacket()
would throw an exception and the user forgot to call
PacketCollector.cancel(). For cases where
createPacketCollectorAndSend(IQ) is not sufficient (because we don't
send IQs), createPacketCollectorAndSend(PacketFilter, Packet) is now
used, which does take care that the PacketCollector does not leak if
sendPacket() throws an Exception.
2014-10-13 10:45:00 +02:00
..
integration-test/java/org/jivesoftware/smackx Remove MUC DeafOccupantIntercepter 2014-10-09 23:12:22 +02:00
main Add XMPPConnection.createPacketcollectorAndSend(PacketFilter, Packet) 2014-10-13 10:45:00 +02:00
test Improve MUC message and presence listeners 2014-10-12 18:11:02 +02:00