| Package | Description |
|---|---|
| me.lucko.helper.messaging.conversation |
| Modifier and Type | Method and Description |
|---|---|
static <R extends ConversationMessage> |
ConversationReply.noReply()
Returns an object indicating that no reply should be sent.
|
static <R extends ConversationMessage> |
ConversationReply.of(R reply)
Creates a new
ConversationReply. |
static <R extends ConversationMessage> |
ConversationReply.ofCompletableFuture(CompletableFuture<R> futureReply)
Creates a new
ConversationReply. |
static <R extends ConversationMessage> |
ConversationReply.ofPromise(Promise<R> promiseReply)
Creates a new
ConversationReply. |
ConversationReply<R> |
ConversationChannelListener.onMessage(ConversationChannelAgent<T,R> agent,
T message)
Called when a message is posted to this listener.
|
Copyright © 2020. All rights reserved.