src/org/jnetpcap/PcapTask.java
public void stop() throws InterruptedException {
		if (thread == null || thread.isAlive() == false) {
			/*
			 * Nothing to do
			 */
			return;
		}

		/*
		 * Tell pcap we want to break out of the loop
		 */
		breakLoop();
		thread.join(); // Wait for thread to finish and exit
	}
/**
	 * <p>
	 * Terminates the task after making sure that the pcap session and thread are
	 * active.
	 * </p>
	 * 
	 * @throws InterruptedException
	 *           since this method waits for the background thread to terminate,
	 *           it can be interrupted
	 */

Terminates the task after making sure that the pcap session and thread are
active.

@throws InterruptedException
since this method waits for the background thread to terminate,
it can be interrupted
Terminates the task after making sure that the pcap session and thread are active . @throws InterruptedException since this method waits for the background thread to terminate it can be interrupted
public void stop() throws InterruptedException {
		if (thread == null || thread.isAlive() == false) {
			/*
			 * Nothing to do
			 */
			return;
		}
		/*
		 * Tell pcap we want to break out of the loop
		 */
		breakLoop();
		thread.join(); 
	}
public void stop ( ) throws InterruptedException { if ( thread == null || thread . isAlive ( ) == false ) { /*
			 * Nothing to do
			 */ return ; } /*
		 * Tell pcap we want to break out of the loop
		 */ breakLoop ( ) ; thread . join ( ) ; }
<p>
 Terminates the task after making sure that the pcap session and thread are
 active.
<p > Terminates the task after making sure that the pcap session and thread are active .
// Wait for thread to finish and exit