module Cannon::Rpc::SingletonService(N)
Overview
Include this into a service description module to make it a singleton
service. Singleton services are available under a well-known id, given
as template argument to this. Both the Service
implementation and the
RemoteService
client classes will automatically pick this up.
When adding a service instance to a Manager
without giving an explicit
id, it'll automatically use the singleton id for a SingletonService
.
Defined in:
cannon/rpc/singleton_service.crConstant Summary
-
SINGLETON_SERVICE_ID =
N
Instance Method Summary
-
#singleton_service_id : UInt32
Returns the singleton service id