package pl.edu.mimuw.cloudatlas.agent.messages; import java.util.concurrent.CompletableFuture; public class RequestStateMessage extends RemikMessage { CompletableFuture responseFuture; public RequestStateMessage(String messageId, long timestamp, CompletableFuture responseFuture) { super(messageId, timestamp, Type.REQUEST_STATE); this.responseFuture = responseFuture; } public CompletableFuture getFuture() { return responseFuture; } }