public abstract class AbstractRpcInvocationHandler extends Object implements RpcInvocationHandler
For internal use only. May be renamed or removed in a future release.
| Constructor and Description |
|---|
AbstractRpcInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Runnable> |
handle(UI ui,
elemental.json.JsonObject invocationJson)
Handles RPC data
invocationJson using ui as a context. |
protected abstract Optional<Runnable> |
handleNode(StateNode node,
elemental.json.JsonObject invocationJson)
Handle the RPC data
invocationJson using target node as a
context. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRpcTypepublic Optional<Runnable> handle(UI ui, elemental.json.JsonObject invocationJson)
RpcInvocationHandlerinvocationJson using ui as a context.handle in interface RpcInvocationHandlerui - the UI to handle against, not nullinvocationJson - the RPC data to handle, not nullprotected abstract Optional<Runnable> handleNode(StateNode node, elemental.json.JsonObject invocationJson)
invocationJson using target node as a
context.node - node to handle invocation with, not nullinvocationJson - the RPC data to handle, not nullCopyright © 2021. All rights reserved.