polls to see if a packet is currently available and returns it , or immediately returns null if no packets are currently in the result queue . 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 void cancel concode_elem_sep Packet nextResult concode_elem_sep Packet nextResult concode_elem_sep void processPacket concode_elem_sep PacketFilter getPacketFilter
Packet function ( ) { return resultQueue . poll ( ) ; }