public interface RpcInvocationHandler extends Serializable
Each instance must return unique rpc type (see getRpcType()
and
handle a JsonObject
RPC data using handle(UI, JsonObject)
method.
Modifier and Type | Method and Description |
---|---|
String |
getRpcType()
Gets unique RPC type which this handler is applicable for.
|
Optional<Runnable> |
handle(UI ui,
elemental.json.JsonObject invocationJson)
Handles RPC data
invocationJson using ui as a context. |
String getRpcType()
Copyright © 2019. All rights reserved.