Package com.inductiveautomation.ignition.gateway.rpc


@ParametersAreNonnullByDefault package com.inductiveautomation.ignition.gateway.rpc
The Gateway half of the 'new' RPC system in Ignition 8.3.0.

The core of this system is the RpcHandler functional interface, representing the handling of an RPC call, and RpcRouter, which is responsible for routing RPC calls to the appropriate handler. It is fully possible to implement these interfaces directly, starting from GatewayModuleHook.getRpcImplementation() as your entrypoint.

However, the strongly recommended pattern is to use RpcInterface on one or more interfaces to define your API contract, and then use #of(com.inductiveautomation.ignition.common.rpc.GatewayRpcSerializer, java.lang.Object...) GatewayRpcImplementation.of to create RpcDelegate instances that adapt those interfaces to the RpcRouter and RpcHandler interfaces.