returns the next available packet . the method call will block not return until a packet is available . concode_field_sep ArrayBlockingQueue<Packet> resultQueue concode_elem_sep boolean cancelled concode_elem_sep PacketFilter packetFilter concode_elem_sep Connection connection concode_field_sep void cancel concode_elem_sep Packet pollResult concode_elem_sep void processPacket concode_elem_sep PacketFilter getPacketFilter
Packet function ( ) { try { return resultQueue . take ( ) ; } catch ( InterruptedException loc0 ) { throw new RuntimeException ( loc0 ) ; } }