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
infoAdapterInfoThe details of the new adapter.
contextDictionary<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
infoAdapterInfoThe details of the new adapter.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA 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
adptsAdapterInfo[]The adapters that were dynamically registered with the registry.
contextDictionary<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
adptsAdapterInfo[]The adapters that were dynamically registered with the registry.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA 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
idstringThe ID of the removed adapter.
contextDictionary<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
idstringThe ID of the removed adapter.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA 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
infoAdapterInfoThe details of the updated adapter.
contextDictionary<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
infoAdapterInfoThe details of the updated adapter.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task
A task that represents the asynchronous operation.