package com.wecloud.im.tillo.app_ws.strategy;


import com.wecloud.im.tillo.app_ws.model.request.ReceiveModel;
import io.netty.channel.ChannelHandlerContext;

/**
 * @Description 接收netty不同类型请求
 * 抽象类 策略设计模式
 * @Author hewei hwei1233@163.com
 * @Date 2020-01-02
 */
public abstract class AbstractReceiveStrategy {

    /**
     * 处理业务流程
     *
     * @param requestModel
     * @param language
     * @throws Exception
     */
    abstract public void process(ReceiveModel requestModel, String language, ChannelHandlerContext ctx, String data);
}
