Interface DOMRpcService

    • Method Detail

      • invokeRpc

        @NonNull CheckedFuture<DOMRpcResult,​DOMRpcException> invokeRpc​(@NonNull SchemaPath type,
                                                                             @Nullable NormalizedNode<?,​?> input)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Initiate invocation of an RPC. This method is guaranteed to not block on any external resources.
        Parameters:
        type - SchemaPath of the RPC to be invoked
        input - Input arguments, null if the RPC does not take any.
        Returns:
        A CheckedFuture which will return either a result structure, or report a subclass of DOMRpcException reporting a transport error.