Table of Contents

Interface AdapterObserverPrx

Namespace
IceGrid
Assembly
IceGrid.dll

Monitors dynamically-registered object adapters.

public interface AdapterObserverPrx : ObjectPrx, IEquatable<ObjectPrx>
Inherited Members

Remarks

The Slice compiler generated this proxy interface from Slice interface ::IceGrid::AdapterObserver. Use the methods of this interface to invoke operations on a remote Ice object that implements AdapterObserver.

Methods

adapterAdded(AdapterInfo, Dictionary<string, string>?)

Notifies the observer that a dynamically-registered adapter was added.

void adapterAdded(AdapterInfo info, Dictionary<string, string>? context = null)

Parameters

info AdapterInfo

The details of the new adapter.

context Dictionary<string, string>

The request context.

adapterAddedAsync(AdapterInfo, Dictionary<string, string>?, IProgress<bool>?, CancellationToken)

Notifies the observer that a dynamically-registered adapter was added.

Task adapterAddedAsync(AdapterInfo info, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)

Parameters

info AdapterInfo

The details of the new adapter.

context Dictionary<string, string>

The request context.

progress IProgress<bool>

The sent progress provider.

cancel CancellationToken

A cancellation token that receives the cancellation requests.

Returns

Task

A task that represents the asynchronous operation.

adapterInit(AdapterInfo[], Dictionary<string, string>?)

Provides the initial list of dynamically registered adapters to the observer.

void adapterInit(AdapterInfo[] adpts, Dictionary<string, string>? context = null)

Parameters

adpts AdapterInfo[]

The adapters that were dynamically registered with the registry.

context Dictionary<string, string>

The request context.

adapterInitAsync(AdapterInfo[], Dictionary<string, string>?, IProgress<bool>?, CancellationToken)

Provides the initial list of dynamically registered adapters to the observer.

Task adapterInitAsync(AdapterInfo[] adpts, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)

Parameters

adpts AdapterInfo[]

The adapters that were dynamically registered with the registry.

context Dictionary<string, string>

The request context.

progress IProgress<bool>

The sent progress provider.

cancel CancellationToken

A cancellation token that receives the cancellation requests.

Returns

Task

A task that represents the asynchronous operation.

adapterRemoved(string, Dictionary<string, string>?)

Notifies the observer that a dynamically-registered adapter was removed.

void adapterRemoved(string id, Dictionary<string, string>? context = null)

Parameters

id string

The ID of the removed adapter.

context Dictionary<string, string>

The request context.

adapterRemovedAsync(string, Dictionary<string, string>?, IProgress<bool>?, CancellationToken)

Notifies the observer that a dynamically-registered adapter was removed.

Task adapterRemovedAsync(string id, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)

Parameters

id string

The ID of the removed adapter.

context Dictionary<string, string>

The request context.

progress IProgress<bool>

The sent progress provider.

cancel CancellationToken

A cancellation token that receives the cancellation requests.

Returns

Task

A task that represents the asynchronous operation.

adapterUpdated(AdapterInfo, Dictionary<string, string>?)

void adapterUpdated(AdapterInfo info, Dictionary<string, string>? context = null)

Parameters

info AdapterInfo

The details of the updated adapter.

context Dictionary<string, string>

The request context.

adapterUpdatedAsync(AdapterInfo, Dictionary<string, string>?, IProgress<bool>?, CancellationToken)

Task adapterUpdatedAsync(AdapterInfo info, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)

Parameters

info AdapterInfo

The details of the updated adapter.

context Dictionary<string, string>

The request context.

progress IProgress<bool>

The sent progress provider.

cancel CancellationToken

A cancellation token that receives the cancellation requests.

Returns

Task

A task that represents the asynchronous operation.