T - the channel message type@FunctionalInterface public interface ConversationChannelListener<T extends ConversationMessage,R extends ConversationMessage>
| Modifier and Type | Method and Description |
|---|---|
ConversationReply<R> |
onMessage(ConversationChannelAgent<T,R> agent,
T message)
Called when a message is posted to this listener.
|
ConversationReply<R> onMessage(@Nonnull ConversationChannelAgent<T,R> agent, @Nonnull T message)
This method is called asynchronously.
agent - the agent which forwarded the message.message - the messageCopyright © 2022. All rights reserved.