void addTestDirector(TestDirector testDirector) {
testDirectors.add(testDirector);
}
void sendStatusMessage(int activeSlaves, int passiveSlaves) {
lastStatusMessage = new MasterStatus(activeSlaves, passiveSlaves);
try {
send(lastStatusMessage);
} catch (IOException ex) {
Logger.getLogger(MasterMain.class.getName()).log(Level.SEVERE, null, ex);
}