e.printStackTrace();
}
}
try{
AverageSender sender = AverageSenderFactory.getAverageSender(rb);
PrintWriter out = sender.getSender();
su.persistTracks(out);
sender.closeSender(out);
}
catch(Exception e){
System.out.println("Simulator runtime data could not be sent. Please check SenderFactory being used");
System.out.println("Causes could be (if using socket factory), incorrect port number or host");
}