package com.xinda.base.codec;

import com.xinda.common.core.protocol.Message;
import com.xinda.base.session.Session;
import io.netty.buffer.ByteBuf;

/**
 * 基础消息编码类
 *
 * @author bill
 */
public interface MessageEncoder{

    ByteBuf encode(Message message, String clientId);
}
