thread.interrupt();
}
public String formatDataForSending(RunnerRaceData data) {
Runner runner = data.getRunner();
RunnerResult result = data.getResult();
return Util.join(new String[]{
runner.getEcard(),
runner.getStartId().toString(),
runner.getLastname(),
runner.getFirstname(),
runner.getCategory().getName(),
runner.getClub().getName(),
runner.getCourse().getName(),
result.getStatus().name(),
Long.toString(result.getRacetime()),
Integer.toString(result.getNbMPs()),
Long.toString(result.getTimePenalty()),
result.formatTrace()
}, ",", new StringBuffer()); //$NON-NLS-1$
}