You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.communication.rpc.

Class PublishedServerEventHandlerRpcHandler

    • Constructor Detail

      • PublishedServerEventHandlerRpcHandler

        public PublishedServerEventHandlerRpcHandler()
    • Method Detail

      • getRpcType

        public String getRpcType()

        Description copied from interface: RpcInvocationHandler

        Gets unique RPC type which this handler is applicable for.

        Returns:

        the unique rpc type

      • allowInert

        protected boolean allowInert​(UI ui,
                                     elemental.json.JsonObject invocationJson)

        Description copied from class: AbstractRpcInvocationHandler

        Specifies whether inert status should be ignored for an RPC invocation or not. The default behaviour is to let the polling events be handled, while ignoring other requests.

        Overrides:

        allowInert in class AbstractRpcInvocationHandler

        Parameters:

        ui - the UI instance that RPC invocation originated from.

        invocationJson - the JsonObject containing invocation properties.

        Returns:

        a boolean indicating that the inert status should be ignored for the current invocation or not.