CatapultServer  v0.5.0.1 (Elephant)
catapult::extensions::ServiceRegistrar Class Referenceabstract

A registrar for registering a service. More...

Public Member Functions

virtual ~ServiceRegistrar ()=default
 
virtual ServiceRegistrarInfo info () const =0
 Gets information about the registrar. More...
 
virtual void registerServiceCounters (ServiceLocator &locator)=0
 Registers service dependent counters with locator. More...
 
virtual void registerServices (ServiceLocator &locator, ServiceState &state)=0
 Boots and registers dependent services with locator given state. More...
 

Detailed Description

A registrar for registering a service.

Constructor & Destructor Documentation

◆ ~ServiceRegistrar()

virtual catapult::extensions::ServiceRegistrar::~ServiceRegistrar ( )
virtualdefault

Member Function Documentation

◆ info()

virtual ServiceRegistrarInfo catapult::extensions::ServiceRegistrar::info ( ) const
pure virtual

Gets information about the registrar.

◆ registerServiceCounters()

virtual void catapult::extensions::ServiceRegistrar::registerServiceCounters ( ServiceLocator locator)
pure virtual

Registers service dependent counters with locator.

◆ registerServices()

virtual void catapult::extensions::ServiceRegistrar::registerServices ( ServiceLocator locator,
ServiceState state 
)
pure virtual

Boots and registers dependent services with locator given state.


The documentation for this class was generated from the following file: