core / pragma.services / DistributedService /
DistributedService #
abstract class DistributedService(pragmaNode: PragmaNode, instanceId: UUID) : Service
A service that handles RPC requests across one or more nodes.
Constructors #
DistributedService | fun DistributedService(pragmaNode: PragmaNode, instanceId: UUID) |
Functions #
| Name | Summary |
|---|---|
Java does not support annotation inheritance, so if the function is "overridden", the overriding classes need to redeclare the @PragmaNotification annotation. See https://stackoverflow.com/questions/1624084/why-is-it-not-possible-to-extend-annotations-in-java |
Inheritors #
| Name |
|---|
Extensions #
| Name | Summary |
|---|---|
Direct-routes localNotificationRequest to every distributed instance of the calling service, including this one. The request is identical for each instance - only the routing target varies - and the response is empty, so callers pass a prebuilt request rather than a per-instance builder. | |
Delivers notification to every session held by this instance. |