mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 14:01:08 +01:00
s/processPacket/processStanza/ s/PacketCollector/StanzaCollector/
This commit is contained in:
parent
9328182912
commit
90a5e289f8
100 changed files with 406 additions and 406 deletions
|
|
@ -165,7 +165,7 @@ public final class BlockingCommandManager extends Manager {
|
|||
|
||||
if (blockListCached == null) {
|
||||
BlockListIQ blockListIQ = new BlockListIQ();
|
||||
BlockListIQ blockListIQResult = connection().createPacketCollectorAndSend(blockListIQ).nextResultOrThrow();
|
||||
BlockListIQ blockListIQResult = connection().createStanzaCollectorAndSend(blockListIQ).nextResultOrThrow();
|
||||
blockListCached = blockListIQResult.getBlockedJidsCopy();
|
||||
}
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ public final class BlockingCommandManager extends Manager {
|
|||
public void blockContacts(List<Jid> jids)
|
||||
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
BlockContactsIQ blockContactIQ = new BlockContactsIQ(jids);
|
||||
connection().createPacketCollectorAndSend(blockContactIQ).nextResultOrThrow();
|
||||
connection().createStanzaCollectorAndSend(blockContactIQ).nextResultOrThrow();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -199,7 +199,7 @@ public final class BlockingCommandManager extends Manager {
|
|||
public void unblockContacts(List<Jid> jids)
|
||||
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
UnblockContactsIQ unblockContactIQ = new UnblockContactsIQ(jids);
|
||||
connection().createPacketCollectorAndSend(unblockContactIQ).nextResultOrThrow();
|
||||
connection().createStanzaCollectorAndSend(unblockContactIQ).nextResultOrThrow();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -213,7 +213,7 @@ public final class BlockingCommandManager extends Manager {
|
|||
public void unblockAll()
|
||||
throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
|
||||
UnblockContactsIQ unblockContactIQ = new UnblockContactsIQ();
|
||||
connection().createPacketCollectorAndSend(unblockContactIQ).nextResultOrThrow();
|
||||
connection().createStanzaCollectorAndSend(unblockContactIQ).nextResultOrThrow();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue