/** * Constructs the mock connector * * @param em the EventManager used to produce DcsEvent objects * @param archiveUtil the MockArchiveUtil used to store and retrieve DcsEntities */ public MockDcsConnector(EventManager em, MockArchiveUtil archiveUtil, DcsModelBuilder model_builder) { this.em = em; this.archiveUtil = archiveUtil; this.feedWriter = new AtomFeedWriterImpl(em); this.model_builder = model_builder; }
/** * Constructs the mock connector * * @param em the EventManager used to produce DcsEvent objects * @param archiveUtil the MockArchiveUtil used to store and retrieve DcsEntities */ public MockDcsConnector(EventManager em, MockArchiveUtil archiveUtil, DcsModelBuilder model_builder) { this.em = em; this.archiveUtil = archiveUtil; this.feedWriter = new AtomFeedWriterImpl(em); this.model_builder = model_builder; }