new Protocol(TimebasedProposalGenerator.getParser(),
MasterValue.getParser(),
monitorConfig.getGroupName(),
nameIdPair,
null);
learner = new Learner(electionProtocol, serviceDispatcher, nameIdPair);
serviceDispatcher.register(new MonitorService(this,
serviceDispatcher));
masterChangeListener = new MasterChangeListener();
learner.addListener(masterChangeListener);
learner.start();