public void handleTerminalInput() {
		while (true) {
			try {
				String write = readString(name + ": ");
				if (write.equals(EXIT)) {
					shutDown();
				} else {
					if (!write.equals(null)) {
						out.write(write + "\n\r");
						out.flush();
					}
				}

			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}