public interface CommandGateway
| Modifier and Type | Method and Description |
|---|---|
Registration |
registerLocalHandler(Object handler) |
<R> CompletableFuture<R> |
send(Object command) |
<R> CompletableFuture<R> |
send(Object payload,
Metadata metadata) |
void |
sendAndForget(Message message) |
void |
sendAndForget(Object command) |
void |
sendAndForget(Object payload,
Metadata metadata) |
<R> R |
sendAndWait(Object command) |
<R> R |
sendAndWait(Object payload,
Metadata metadata) |
CompletableFuture<Message> |
sendForMessage(Message message) |
void sendAndForget(Message message)
void sendAndForget(Object command)
<R> CompletableFuture<R> send(Object command)
<R> CompletableFuture<R> send(Object payload, Metadata metadata)
CompletableFuture<Message> sendForMessage(Message message)
<R> R sendAndWait(Object command)
Registration registerLocalHandler(Object handler)
Copyright © 2019 Flux Capacitor. All rights reserved.