cc.youchain.protocol.websocket.events.Notification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
YOUChain Common library in JAVA.
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;
}
}