Class DefaultDispatcher<B extends BotConfiguration,I,O>

java.lang.Object
io.micronaut.chatbots.core.DefaultDispatcher<B,I,O>
Type Parameters:
B - The Bot configuration
I - input type.
O - output type.
All Implemented Interfaces:
Dispatcher<B,I,O>

@Singleton public class DefaultDispatcher<B extends BotConfiguration,I,O> extends Object implements Dispatcher<B,I,O>
Iterates through every Handler in odered and dispatch the message to the first which can handle the request.
Since:
1.0.0
Author:
Sergio del Amo