org.enodeframework.queue.ISendReplyService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
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
}