public static int TOTAL_WORDS = SENTENCE_1_TOTAL_WORDS + SENTENCE_2_TOTAL_WORDS + SENTENCE_3_TOTAL_WORDS;
private TCPEmitter emitter;
Injector injector;
public void createEmitter() throws IOException {
injector = Guice.createInjector(new BaseModule(
Resources.getResource("default.s4.base.properties").openStream(), "cluster1"), new DefaultCommModule(
Resources.getResource("default.s4.comm.properties").openStream()), new DefaultCoreModule(Resources
.getResource("default.s4.core.properties").openStream()));
emitter = injector.getInstance(TCPEmitter.class);