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 FormConstructor 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. |
handle
public String getRpcType()
RpcInvocationHandler
protected 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 © 2019. All rights reserved.