All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.hippo4j.common.monitor.MessageWrapper Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package cn.hippo4j.common.monitor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * Message wrapper.
 *
 * @author chen.ma
 * @date 2021/12/7 22:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageWrapper implements MessageRequest {

    /**
     * contentParams
     */
    private List> contentParams;

    /**
     * responseClass
     */
    private Class responseClass;

    /**
     * getMessageType
     */
    private MessageTypeEnum messageType;

    @Override
    public List> getContentParams() {
        return contentParams;
    }

    @Override
    public Class getResponseClass() {
        return responseClass;
    }

    @Override
    public MessageTypeEnum getMessageType() {
        return messageType;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy