Update the PacketCollector and ConnectionDetachedPacketCollector to use the java concurrent classes.
Description
These implementation can be reduced to a few lines of code by using a LinkedBlockingQueue from concurrent queue implementations in the java.util.concurrent package. This would greatly simplify the existing code by removing all the existing synchronization code.
These implementation can be reduced to a few lines of code by using a LinkedBlockingQueue from concurrent queue implementations in the java.util.concurrent package. This would greatly simplify the existing code by removing all the existing synchronization code.