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

io.split.engine.sse.dtos.RawMessageNotification Maven / Gradle / Ivy

package io.split.engine.sse.dtos;

import java.util.Map;

public class RawMessageNotification {
    private String id;
    private String clientId;
    private long timestamp;
    private String encoding;
    private String channel;
    private String data;

    public RawMessageNotification(String id,
                                  String clientId,
                                  long timestamp,
                                  String encoding,
                                  String channel,
                                  String data) {
        this.id = id;
        this.clientId = clientId;
        this.timestamp = timestamp;
        this.encoding = encoding;
        this.channel = channel;
        this.data = data;
    }

    public String getChannel() {
        return channel;
    }

    public String getData() { return data; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy