@Override
	public void run() {
		try {
			if( ("A").equalsIgnoreCase(howToCheck) )
				checkFromA();
			else
				checkFromB();
			
			System.out.println("Watek " + howToCheck + " zakonczyl dzialanie");
			
			
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			System.out.println("Wystapil wyjatek w");
			e.printStackTrace();
		}
		
	}