Interface IIceObjectService
Provides 3 ice_ operations. Services implemented with Ice or that offer compatibility with Ice implement this interface.
[SliceTypeId("::Ice::Object")]
[DefaultServicePath("/Ice.Object")]
public interface IIceObjectService
Remarks
The Slice compiler generated this server-side interface from Slice interface Ice::Object.
Your service implementation must implement this interface.
Methods
IceIdsAsync(IFeatureCollection, CancellationToken)
Gets the Slice type IDs of all the interfaces implemented by the target service.
ValueTask<IEnumerable<string>> IceIdsAsync(IFeatureCollection features, CancellationToken cancellationToken)
Parameters
featuresIFeatureCollectionThe dispatch features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- ValueTask<IEnumerable<string>>
The Slice type IDs of all these interfaces, sorted alphabetically.
IceIsAAsync(string, IFeatureCollection, CancellationToken)
Tests whether the target service implements the specified interface.
ValueTask<bool> IceIsAAsync(string id, IFeatureCollection features, CancellationToken cancellationToken)
Parameters
idstringThe Slice type ID of the interface to test against.
featuresIFeatureCollectionThe dispatch features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
IcePingAsync(IFeatureCollection, CancellationToken)
Pings the service.
ValueTask IcePingAsync(IFeatureCollection features, CancellationToken cancellationToken)
Parameters
featuresIFeatureCollectionThe dispatch features.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- ValueTask
A value task that completes when this implementation completes.