com.kaka.notice.Message Maven / Gradle / Ivy
package com.kaka.notice;
import com.kaka.util.ObjectPool.Poolable;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Consumer;
/**
* 消息通知对象,亦可理解为事件上下文对象
*
* @author zkpursuit
*/
public class Message implements Poolable, Serializable {
protected Object what;
protected Object body;
protected Map