// Path: core/src/main/java/org/aimlang/core/bot/Bot.java
// public interface Bot extends Named {
//     String getRespond(String phrase);
// 
//     default void startChat(String userId, ChannelType channelType) {
//         setChatContext(getChatContextStorage().getContext(userId, channelType));
//         buildChat().start();
//     }
// 
//     Chat buildChat();
// 
//     ChatContextStorage getChatContextStorage();
// 
//     void setChatContext(ChatContext context);
// 
//     boolean wakeUp();
// }


import org.aimlang.core.bot.Bot;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import static org.aimlang.core.channels.ChannelType.CONSOLE;
package org.aimlang.core.channels;




/**
 * Console provider
 *
 * @author batiaev
 * @since 18/10/16
 */
public class ConsoleChannel implements Provider, Channel {

    private BufferedReader reader;
// Path: core/src/main/java/org/aimlang/core/bot/Bot.java
// public interface Bot extends Named {
//     String getRespond(String phrase);
// 
//     default void startChat(String userId, ChannelType channelType) {
//         setChatContext(getChatContextStorage().getContext(userId, channelType));
//         buildChat().start();
//     }
// 
//     Chat buildChat();
// 
//     ChatContextStorage getChatContextStorage();
// 
//     void setChatContext(ChatContext context);
// 
//     boolean wakeUp();
// }


// Path: core/src/main/java/org/aimlang/core/channels/ConsoleChannel.java
import org.aimlang.core.bot.Bot;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import static org.aimlang.core.channels.ChannelType.CONSOLE;

package org.aimlang.core.channels;




/**
 * Console provider
 *
 * @author batiaev
 * @since 18/10/16
 */
public class ConsoleChannel implements Provider, Channel {

    private BufferedReader reader;
    private Bot bot;