package com.github.ompc.greys.core.server;
import java.io.IOException;
/**
* 命令处理器
* Created by oldmanpushcart@gmail.com on 15/5/3.
*/
public interface CommandHandler {
/**
* 解析输入行并执行命令
*
* @param line 输入的命令行
* @param session 会话
* @throws IOException IO错误
*/
void executeCommand(final String line, final Session session) throws IOException;
}