package rocks.inspectit.shared.all.cmr.service;
import java.rmi.Remote;
import java.util.List;
import rocks.inspectit.shared.all.communication.DefaultData;
/**
* This service is used by the Agents to send their data objects to and it is used by all the
* graphical interfaces to request these data objects and a part of the domain model.
*
* @author Patrice Bouillet
*
*/
@ServiceInterface(exporter = ServiceExporterType.RMI, serviceId = 2)
public interface IAgentStorageService extends Remote {
/**
* Data Objects are used for all transmissions between the Agent(s), the CMR and the user
* interface.
*
* @param dataObjects
* The list containing all the data objects.
*/
void addDataObjects(List<? extends DefaultData> dataObjects);
}