-// $Id$
/**
* Copyright (C) 2015 EDIT
* European Distributed Institute of Taxonomy
*/
package eu.etaxonomy.cdm.api.service;
+import java.io.Serializable;
import java.util.UUID;
import eu.etaxonomy.cdm.common.monitor.IRemotingProgressMonitor;
+import eu.etaxonomy.cdm.common.monitor.RemotingProgressMonitorThread;
/**
*
* Service interface to manage progress monitors
*
* @author cmathew
- * @date 14 Oct 2015
+ * @since 14 Oct 2015
*
*/
public interface IProgressMonitorService {
*
* @return uuid of remoting monitor
*/
- public UUID registerNewRemotingMonitor();
+ public UUID registerNewRemotingMonitor(RemotingProgressMonitorThread monitorThread);
+
/**
* Return remoting monitor corresponding to give uuid
*/
public boolean isMonitorThreadRunning(UUID uuid);
+ public void setFeedback(UUID uuid, Serializable feedback);
+
}