mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Allows PacketCollector's to cancel each other
This is useful for cases where a result set is requested, as it's the case in XEP-13 and XEP-313. Also adds XMPPConnection.createPacketCollector(PacketCollector.Configuration).
This commit is contained in:
parent
d099e7b16d
commit
2e23a6f150
5 changed files with 117 additions and 46 deletions
|
@ -189,7 +189,7 @@ public class PacketCollectorTest
|
|||
{
|
||||
protected TestPacketCollector(XMPPConnection conection, PacketFilter packetFilter, int size)
|
||||
{
|
||||
super(conection, packetFilter, size);
|
||||
super(conection, PacketCollector.newConfiguration().setPacketFilter(packetFilter).setSize(size));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue