package cn.flightfeather.supervision.socket; public class WebSocketMessage { /* * 消息类型 * */ private int type; /* * 消息内容 * */ private Object content; public WebSocketMessage() { } public WebSocketMessage(int type, Object content) { this.type = type; this.content = content; } public int getType() { return type; } public void setType(int type) { this.type = type; } public Object getContent() { return content; } public void setContent(Object content) { this.content = content; } }