public void run() {
		String line;
		Event event = null;
		try {
			while((line = eventSocketReader.readLine()) != null) {
				if (!line.isEmpty()) {
					if (event == null)
						event = new Event();
					event.add(line);
				} else if (event != null) {
					if (event.getName() != null)
						eventListener.handleEvent(event);
					event = null;
				}
			}
		} catch (SocketException e) {
			if (!e.getMessage().equals("Socket closed"))
				throw new Error("Event socket read error : "+e);
		} catch (Exception e) {
			throw new Error("Event socket read error : "+e);
		}
	}