public void sendMessage(Message m, String url)
	{
		if (url == null)
		{
			logger.info("Wtf wie heet null");
		} else{
		try {
			IMessageReceivedHandler stub = (IMessageReceivedHandler) java.rmi.Naming.lookup("rmi://"+registry+":1099/"+url);
			stub.onMessageReceived(m);
		} catch (MalformedURLException e) {
			System.out.println((this.url + ": " + e.getClass() + "|" + url));
			//tmp++;
		}
		catch( NotBoundException e){
			System.out.println((this.url + ": " + e.getClass() + "|" + url));
			if (!maintenance)
				nodeLeft(url);
		}
		catch(RemoteException e){
			System.out.println((this.url + ": " + e.getClass() + "|" + url));
			if (!maintenance)
				nodeLeft(url);
		}
		}
	}