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

cc.youchain.protocol.websocket.events.Notification Maven / Gradle / Ivy

There is a newer version: 1.1.5
Show newest version
package cc.youchain.protocol.websocket.events;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Base class for WebSocket notifications.
 *
 * @param  type of data return by a particular subscription
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Notification {
    private String jsonrpc;
    private String method;
    private NotificationParams params;

    public String getJsonrpc() {
        return jsonrpc;
    }

    public String getMethod() {
        return method;
    }

    public NotificationParams getParams() {
        return params;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy