public class AttachTemplateChildRpcHandler extends AbstractRpcInvocationHandler
JsonConstants.RPC_ATTACH_EXISTING_ELEMENT_BY_ID,
JsonConstants.RPC_ATTACH_ASSIGNED_ID,
JsonConstants.RPC_ATTACH_REQUESTED_ID,
JsonConstants.RPC_ATTACH_ID,
Serialized Form| Constructor and Description |
|---|
AttachTemplateChildRpcHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRpcType()
Gets unique RPC type which this handler is applicable for.
|
protected Optional<Runnable> |
handleNode(StateNode node,
elemental.json.JsonObject invocationJson)
Handle the RPC data
invocationJson using target node as a
context. |
handlepublic String getRpcType()
RpcInvocationHandlerprotected Optional<Runnable> handleNode(StateNode node, elemental.json.JsonObject invocationJson)
AbstractRpcInvocationHandlerinvocationJson using target node as a
context.handleNode in class AbstractRpcInvocationHandlernode - node to handle invocation with, not nullinvocationJson - the RPC data to handle, not nullCopyright © 2020. All rights reserved.