Interface CommandGateway
-
- All Superinterfaces:
HasLocalHandlers
- All Known Implementing Classes:
DefaultCommandGateway
public interface CommandGateway extends HasLocalHandlers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> CompletableFuture<R>send(Object command)<R> CompletableFuture<R>send(Object payload, Metadata metadata)voidsendAndForget(Object command)voidsendAndForget(Object payload, Metadata metadata)<R> RsendAndWait(Object command)<R> RsendAndWait(Object payload, Metadata metadata)CompletableFuture<Message>sendForMessage(Message message)-
Methods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.HasLocalHandlers
registerHandler, registerHandler
-
-
-
-
Method Detail
-
sendAndForget
void sendAndForget(Object command)
-
send
<R> CompletableFuture<R> send(Object command)
-
send
<R> CompletableFuture<R> send(Object payload, Metadata metadata)
-
sendForMessage
CompletableFuture<Message> sendForMessage(Message message)
-
sendAndWait
<R> R sendAndWait(Object command)
-
-