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

com.exaroton.api.ws.data.StreamData Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package com.exaroton.api.ws.data;

public class StreamData {

    /**
     * stream name
     */
    private final String stream;

    /**
     * message type
     */
    private final String type;

    /**
     * data
     */
    private Datatype data;

    public StreamData(String stream, String type) {
        this.stream = stream;
        this.type = type;
    }

    public StreamData(String stream, String type, Datatype data) {
        this.stream = stream;
        this.type = type;
        this.data = data;
    }

    /**
     * @return message type
     */
    public String getType() {
        return type;
    }

    /**
     * @return stream name
     */
    public String getStream() {
        return stream;
    }

    /**
     * @return stream data
     */
    public Datatype getData() {
        return data;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy