Interface IIceObject
Provides 3 ice_ operations. Services implemented with Ice or that offer compatibility with Ice implement this interface.
public interface IIceObject
Remarks
The Slice compiler generated this client-side interface from Slice interface Ice::Object.
It's implemented by IceObjectProxy.
Methods
IceIdsAsync(IFeatureCollection?, CancellationToken)
Gets the Slice type IDs of all the interfaces implemented by the target service.
Task<string[]> IceIdsAsync(IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
featuresIFeatureCollectionThe invocation features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
IceIsAAsync(string, IFeatureCollection?, CancellationToken)
Tests whether the target service implements the specified interface.
Task<bool> IceIsAAsync(string id, IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
idstringThe Slice type ID of the interface to test against.
featuresIFeatureCollectionThe invocation features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
IcePingAsync(IFeatureCollection?, CancellationToken)
Pings the service.
Task IcePingAsync(IFeatureCollection? features = null, CancellationToken cancellationToken = default)
Parameters
featuresIFeatureCollectionThe invocation features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task
A task that completes when the response is received.