All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.imunity.furms.site.api.AgentPendingMessageSiteService Maven / Gradle / Ivy

There is a newer version: 4.3.1
Show newest version
/*
 * Copyright (c) 2020 Bixbit s.c. All rights reserved.
 * See LICENSE file for licensing information.
 */

package io.imunity.furms.site.api;

import io.imunity.furms.domain.project_allocation_installation.ErrorMessage;
import io.imunity.furms.domain.site_agent.CorrelationId;
import io.imunity.furms.domain.site_agent_pending_messages.SiteAgentPendingMessage;

import java.util.Optional;

public interface AgentPendingMessageSiteService {
	Optional find(CorrelationId correlationId);

	void create(SiteAgentPendingMessage message);

	void setAsAcknowledged(CorrelationId id);

	void updateErrorMessage(CorrelationId id, ErrorMessage errorMessage);

	void delete(CorrelationId id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy