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

org.enodeframework.queue.ISendReplyService.kt Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.queue

import org.enodeframework.commanding.CommandResult
import org.enodeframework.common.io.ReplySocketAddress
import org.enodeframework.queue.domainevent.DomainEventHandledMessage
import java.util.concurrent.CompletableFuture

interface ISendReplyService {
    /**
     * Send command handle result
     */
    fun sendCommandReply(commandResult: CommandResult, replyAddress: ReplySocketAddress): CompletableFuture

    /**
     * Send event handle result
     */
    fun sendEventReply(eventHandledMessage: DomainEventHandledMessage, replyAddress: ReplySocketAddress): CompletableFuture
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy