1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-10 18:59:41 +02:00

Spellcheck.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6106 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Alex Wenckus 2006-11-14 21:58:03 +00:00 committed by alex
parent 8d5225c6a9
commit 0537629ee9
10 changed files with 17 additions and 9 deletions

View file

@ -783,6 +783,14 @@ public class XMPPConnection {
return packetReader.createPacketCollector(packetFilter);
}
public PacketCollector createPacketCollector(PacketFilter packetFilter, boolean debugMode) {
if(debugMode) {
return new DebuggingPacketCollector(packetReader, packetFilter);
} else {
return packetReader.createPacketCollector(packetFilter);
}
}
/**
* Adds a connection listener to this connection that will be notified when
* the connection closes or fails. The connection needs to already be connected