/** * Creates a new packet collector. If the packet filter is <tt>null</tt>, then * all packets will match this collector. * * @param conection the connection the collector is tied to. * @param packetFilter determines which packets will be returned by this collector. */ protected PacketCollector(Connection conection, PacketFilter packetFilter) { this(conection, packetFilter, SmackConfiguration.getPacketCollectorSize()); }
/** * Creates a new packet collector. If the packet filter is <tt>null</tt>, then * all packets will match this collector. */ public ConnectionDetachedPacketCollector() { this(SmackConfiguration.getPacketCollectorSize()); }