mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-06 13:11: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
|
|
@ -160,7 +160,7 @@ public class JingleManagerTest extends SmackTestCase {
|
|||
|
||||
// Start a packet listener for session initiation requests
|
||||
getConnection(0).addAsyncPacketListener(new PacketListener() {
|
||||
public void processPacket(final Packet packet) {
|
||||
public void processStanza(final Packet packet) {
|
||||
System.out.println("Packet detected... ");
|
||||
incCounter();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
package org.jivesoftware.smackx.jingle.provider;
|
||||
|
||||
import org.jivesoftware.smack.PacketCollector;
|
||||
import org.jivesoftware.smack.StanzaCollector;
|
||||
import org.jivesoftware.smack.SmackConfiguration;
|
||||
import org.jivesoftware.smack.filter.PacketFilter;
|
||||
import org.jivesoftware.smack.filter.StanzaTypeFilter;
|
||||
|
|
@ -70,7 +70,7 @@ public class JingleProviderTest extends SmackTestCase {
|
|||
|
||||
// Create a filter and a collector...
|
||||
PacketFilter filter = new StanzaTypeFilter(IQ.class);
|
||||
PacketCollector collector = getConnection(0).createPacketCollector(filter);
|
||||
StanzaCollector collector = getConnection(0).createStanzaCollector(filter);
|
||||
|
||||
System.out.println("Testing if a Jingle IQ can be sent and received...");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue