Interface RpcInvocationHandler
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractRpcInvocationHandler,AttachExistingElementRpcHandler,AttachTemplateChildRpcHandler,EventRpcHandler,MapSyncRpcHandler,NavigationRpcHandler,PublishedServerEventHandlerRpcHandler,ReturnChannelHandler
public interface RpcInvocationHandler extends Serializable
RPC invocation handler interface.Each instance must return unique rpc type (see
getRpcType()and handle aJsonObjectRPC data usinghandle(UI, JsonObject)method.For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRpcType()Gets unique RPC type which this handler is applicable for.Optional<Runnable>handle(UI ui, elemental.json.JsonObject invocationJson)Handles RPC datainvocationJsonusinguias a context.
-
-
-
Method Detail
-
getRpcType
String getRpcType()
Gets unique RPC type which this handler is applicable for.- Returns:
- the unique rpc type
-
-