StompPayload.java 277 Bytes
package com.huaheng.framework.websocket;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class StompPayload<T> implements Serializable {
    //接收方的LoginName
    private List<String> sendTo;
    //数据包
    private T data;

}