class Control < Async::Bus::Server
- Inherits from
Async::Bus::Server
Exposes a registry over async-bus for endpoint publication.
Definitions
def initialize(endpoint, registry)
Initialize a control server.
Signature
-
parameter
endpointIO::Endpoint The endpoint used for registry updates.
-
parameter
registryRegistry The registry to expose.
Implementation
def initialize(endpoint, registry)
super(endpoint)
@registry = registry
end