void function ( ) { if ( ! cancelled ) { conection . removePacketCollector ( this ) ; cancelled = true ; } }
explicitly cancels the packet collector so that no more results are queued up . once a packet collector has been cancelled , it can not be re-enabled . instead , a new packet collector must be created . concode_field_sep LinkedBlockingQueue<Packet> resultQueue concode_elem_sep int MAX_PACKETS concode_elem_sep boolean cancelled concode_elem_sep PacketFilter packetFilter concode_elem_sep Connection conection concode_field_sep Packet nextResult concode_elem_sep Packet nextResult concode_elem_sep Packet pollResult concode_elem_sep void processPacket concode_elem_sep PacketFilter getPacketFilter