Annotation Interface RpcInterface
Marks an interface as an RPC interface.
NOTE: Method overloads are not allowed and the first encountered method will be used resulting in unpredictable behavior.
- Apply this to your common-scoped interface that defines the RPC methods.
- Implement the interface on the gateway
- Pass your implementation to an
RpcDelegate
orGatewayRpcImplementation
factory method
NOTE: Method overloads are not allowed and the first encountered method will be used resulting in unpredictable behavior.
-
Required Element Summary
Required Elements
-
Element Details
-
packageId
An arbitrary identifier that should be used for grouping RPC methods within your module. For example, the Ignition platform might use"images"
and"tags"
as package IDs for different subsystems. There is no need to use a full Java package name, but any value you provide must be unique within your module.- Returns:
- A non-null, not empty package ID for this particular RPC interface.
-