C# Class NServiceBus.Routing.EndpointInstances

Stores the information about instances of known endpoints.
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
AddOrReplaceInstances ( string sourceKey, IList endpointInstances ) : void

Adds or replaces a set of endpoint instances registered under a given key (registration source ID).

FindInstances ( string endpoint ) : IEnumerable

Returns all known EndpointInstance for a given logical endpoint.

Private Methods

Méthode Description
DefaultInstance ( string endpoint ) : IEnumerable

Method Details

AddOrReplaceInstances() public méthode

Adds or replaces a set of endpoint instances registered under a given key (registration source ID).
public AddOrReplaceInstances ( string sourceKey, IList endpointInstances ) : void
sourceKey string Source key.
endpointInstances IList List of endpoint instances known by this source.
Résultat void

FindInstances() public méthode

Returns all known EndpointInstance for a given logical endpoint.
public FindInstances ( string endpoint ) : IEnumerable
endpoint string The logical endpoint name.
Résultat IEnumerable