/** * Constructor for the tracker wrapper. * * @param ipAddress IP address of the tracker, "192.168.1.4" * @param userName "user" * @param password "" */ Tracker(String ipAddress, String userName, String password) { this.ipAddress = ipAddress; this.name = userName; this.password = password; try { trk = new smx.tracker.Tracker(TRACKER_TYPE); trk.setBlocking(BLOCKING); } catch (TrackerException e) { e.printStackTrace(); } }