public CommunicationThreadUploadPit(StreamConnection con, LinkedList<Integer> threadsInfo2,JTextArea sF,int qI,int sI)
	{
		threadsInfo = threadsInfo2;
		connection = con;
		statusField = sF;
		queueIndex = qI;
		statusIndex = sI;
		try 
		{
			//Get Bluetooth device with the Bluetooth Connection
			device = RemoteDevice.getRemoteDevice(connection);
		} 
		catch (IOException e) 
		{
			e.printStackTrace();
		}
	}