C# Класс Drey.Configuration.ServiceModel.ServicesManager

Наследование: IServicesManager
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ServicesManager ( INutConfiguration configurationManager, Infrastructure dbConfigurationSettingsFactory, IEventBus eventBus, IEnumerable pushServices, IEnumerable remoteInvokedServices, Services globalSettings, Func packagesPollerFactory, Func pollingCollectionFactory, Repositories packageRepository, IHoardeManager hoardeManager ) : Drey.Configuration.Infrastructure
Start ( ) : bool

Starts this manager and its services. Establishes connection with the remote server for log file access, etc.

Stop ( ) : bool

Stops all services managed by this.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Приватные методы

Метод Описание
Connect ( ) : System.Threading.Tasks.Task
InitializePollingClients ( ) : void

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

ServicesManager() публичный Метод

public ServicesManager ( INutConfiguration configurationManager, Infrastructure dbConfigurationSettingsFactory, IEventBus eventBus, IEnumerable pushServices, IEnumerable remoteInvokedServices, Services globalSettings, Func packagesPollerFactory, Func pollingCollectionFactory, Repositories packageRepository, IHoardeManager hoardeManager ) : Drey.Configuration.Infrastructure
configurationManager INutConfiguration
dbConfigurationSettingsFactory Infrastructure
eventBus IEventBus
pushServices IEnumerable
remoteInvokedServices IEnumerable
globalSettings Services
packagesPollerFactory Func
pollingCollectionFactory Func
packageRepository Repositories
hoardeManager IHoardeManager
Результат Drey.Configuration.Infrastructure

Start() публичный Метод

Starts this manager and its services. Establishes connection with the remote server for log file access, etc.
public Start ( ) : bool
Результат bool

Stop() публичный Метод

Stops all services managed by this.
public Stop ( ) : bool
Результат bool