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:
parent
8d5225c6a9
commit
0537629ee9
10 changed files with 17 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue