C# Class Drey.Configuration.ServiceModel.ServicesManager

Inheritance: IServicesManager
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Méthode Description
Connect ( ) : System.Threading.Tasks.Task
InitializePollingClients ( ) : void

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

ServicesManager() public méthode

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
Résultat Drey.Configuration.Infrastructure

Start() public méthode

Starts this manager and its services. Establishes connection with the remote server for log file access, etc.
public Start ( ) : bool
Résultat bool

Stop() public méthode

Stops all services managed by this.
public Stop ( ) : bool
Résultat bool