public void interruptibleRun() {
			try {
				while (true) {
					final Socket localSocket = m_serverSocket.accept();
					discriminateConnection(localSocket);
				}
			}
			catch (IOException e) {
				// Treat accept socket errors as fatal - we've probably been
				// shutdown. This includes InterruptedIOExceptions.
			}
			catch (ShutdownException e) {
				// Acceptor has been shutdown, exit.
			}
			finally {
				// Best effort to ensure our server socket is closed.
				try {
					shutdown();
				}
				catch (CommunicationException e) {
					// Ignore.
				}
			}
		}
Get the listener list for a particular connection type.
ngrinder-core/src/main/java/net/grinder/communication/Acceptor.java