private boolean checkPreconditions() {
		if (myHost == null) {
			sendErrorToCollectors(COULD_NOT_CONNECT_MSG + ": Host specification wrong");
			return false;
		}
		HostLocation myHostLocation = myHost.getBestHostLocation();
		if (myHostLocation == null) {
			sendErrorToCollectors(COULD_NOT_CONNECT_MSG + ": Host location specification wrong");
			return false;
		}
		String ip = myHostLocation.getIp();
		int port = myHostLocation.getPort();
		if (ip == null || (port < 1 || port > 65535)) {
			sendErrorToCollectors(COULD_NOT_CONNECT_MSG + ": Host location specification wrong");
			return false;
		}
		if (collectors == null) {
			collectors = Collections.emptyList();
		}
		if (query == null) {
			sendErrorToCollectors(COULD_NOT_SEND_QUERY_MSG + ": Query specification wrong");
			return false;
		}
		return true;
	}