public class PublishedServerEventHandlerRpcHandler extends AbstractRpcInvocationHandler
element.$server
or
simply $server
in template event handlers.
For internal use only. May be renamed or removed in a future release.
JsonConstants.RPC_PUBLISHED_SERVER_EVENT_HANDLER
,
Serialized FormConstructor and Description |
---|
PublishedServerEventHandlerRpcHandler() |
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 PublishedServerEventHandlerRpcHandler()
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 © 2023. All rights reserved.