public void run() {
		ircConnection.isRunning = true;
		try {
			String line = ircConnection.input.readLine();
			while (ircConnection.isRunning && !this.ircConnection.waitingForReconnect && (line != null)) {
				if (ircConnection.debug) {
					System.out.println("< " + line);
				}
				Iterator itr = ircConnection.handlers.iterator();
				while (itr.hasNext()) {
					IRCResponseHandler handler = (IRCResponseHandler) itr.next();
					handler.handleResponse(ircConnection, line);
				}
				line = ircConnection.input.readLine();
			}
		} catch (java.io.IOException e) {
			// ignore
		}
		ircConnection.isRunning = false;
		ircConnection.onUnexpectedDisconnect();
	}