public class EventRpcHandler extends AbstractRpcInvocationHandler
For internal use only. May be renamed or removed in a future release.
JsonConstants.RPC_EVENT_TYPE
,
Serialized FormConstructor and Description |
---|
EventRpcHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getRpcType()
Gets unique RPC type which this handler is applicable for.
|
Optional<Runnable> |
handleNode(StateNode node,
elemental.json.JsonObject invocationJson)
Handle the RPC data
invocationJson using target node as a
context. |
handle
public String getRpcType()
RpcInvocationHandler
public Optional<Runnable> handleNode(StateNode node, elemental.json.JsonObject invocationJson)
AbstractRpcInvocationHandler
invocationJson
using target node
as a
context.handleNode
in class AbstractRpcInvocationHandler
node
- node to handle invocation with, not null
invocationJson
- the RPC data to handle, not null
Copyright © 2021. All rights reserved.