package com.r11.tools.service;

import com.r11.tools.model.MockedMessageDto;

import java.util.Optional;
import java.util.UUID;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

/**
 * Service interface for {@link com.r11.tools.controller.KlausController} and {@link com.r11.tools.controller.MockController}
 * @author Rafał Żukowicz
 */
@Service
public interface KlausService {
    Optional<MockedMessageDto> getMockedMessageByClientUUID(UUID clientUUID);
    MockedMessageDto getMockedResponse(UUID clientUUID);
    ResponseEntity<String> setMockedResponse(MockedMessageDto mockedMessageDto);
}
