package com.wecloud.netty.dispatch.general.extend;

import com.wecloud.netty.dispatch.ActionDispatcher;
import com.wecloud.netty.dispatch.common.BaseRequest;
import com.wecloud.netty.dispatch.extend.ActionMessage;

/**
 * @author lixiaozhong
 */
public interface ActionMessageResolver {
	/**
	 *
	 * 解析消息<br>
	 *
	 * @param actionDispatcher
	 * @param data
	 * @return
	 */
	ActionMessage resolver(ActionDispatcher actionDispatcher, BaseRequest data);

}
