public class CurrentDataNotification extends JsonrpcNotification
{ "jsonrpc": "2.0", "method": "currentData", "params": { [channelAddress]: string | number } }
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHOD |
JSONRPC_VERSION
Constructor and Description |
---|
CurrentDataNotification() |
Modifier and Type | Method and Description |
---|---|
void |
add(ChannelAddress channel,
com.google.gson.JsonElement value) |
com.google.gson.JsonObject |
getParams() |
getMethod, toJsonObject
from, from, toString
public static final java.lang.String METHOD
public void add(ChannelAddress channel, com.google.gson.JsonElement value)
public com.google.gson.JsonObject getParams()
getParams
in class AbstractJsonrpcRequest