Table of Contents

Namespace IceRpc.Locator

Provides the locator interceptor. This interceptor enables interop with Ice servers registered with a locator such as IceGrid.

Classes

LocatorInterceptor

A locator interceptor intercepts ice requests that have no server address and attempts to assign a usable server address (and alt-server addresses) to such requests via the IServerAddressFeature. You would usually install the retry interceptor before the locator interceptor in the invocation pipeline and use the connection cache invoker for the pipeline, with this setup the locator interceptor would be able to detect invocation retries and refreshes the server address when required, and the connection cache would take care of creating the connections for the resolved server address.

LocatorLocationResolver

Implements ILocationResolver using an ILocator.

LocatorOptions

A property bag used to configure a LocatorLocationResolver.

Structs

Location

A location is either an adapter ID or a path.

Interfaces

ILocationResolver

A location resolver resolves a location into one or more server addresses carried by a dummy service address, and optionally maintains a cache for these resolutions. It's the "brain" of LocatorInterceptor. The same location resolver can be shared by multiple locator interceptors.

Enums

LocationEventId

This enum contains event ID constants used by log decorators of ILocationResolver, IServerAddressFinder and IServerAddressCache.