public void attemptConnect(connectionInfo x)
		{
			//Check if the connection info sent exists
			if(x==null)
				return;
			if(myPartner != null)
				if(x.getName().equals(myPartner.getName()))
					return;

			//Check if the pair is available to connect
			if(x.getConnection()!=null)
				if(!name.equals(x.getPrior()))
					return;
			if(myPartner != null)
				if(!prior.equals(x.getName()))
					return;

			//Order disconnects and set up connection
			disconnect();
			x.disconnect();

			logPrint("	"+name+" and "+x.getName()+" have been connected.");
			myPartner = x;
			x.setConnection(this);
				
		}