Table of Contents

Class LocatorProxy.Response

Namespace
IceRpc.Ice
Assembly
IceRpc.Locator.dll

Provides a ResponseDecodeFunc<T> for each operation defined in Ice interface ::Ice::Locator.

public static class LocatorProxy.Response
Inheritance
LocatorProxy.Response
Inherited Members

Methods

DecodeFindAdapterByIdAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation findAdapterById.

public static ValueTask<IceObjectProxy?> DecodeFindAdapterByIdAsync(IncomingResponse response, OutgoingRequest request, IIceProxy sender, CancellationToken cancellationToken)

Parameters

response IncomingResponse

The incoming response to decode.

request OutgoingRequest

The outgoing request.

sender IIceProxy

The proxy that sent the request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask<IceObjectProxy?>

The decoded response payload.

DecodeFindObjectByIdAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation findObjectById.

public static ValueTask<IceObjectProxy?> DecodeFindObjectByIdAsync(IncomingResponse response, OutgoingRequest request, IIceProxy sender, CancellationToken cancellationToken)

Parameters

response IncomingResponse

The incoming response to decode.

request OutgoingRequest

The outgoing request.

sender IIceProxy

The proxy that sent the request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask<IceObjectProxy?>

The decoded response payload.

DecodeGetRegistryAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation getRegistry.

public static ValueTask<LocatorRegistryProxy?> DecodeGetRegistryAsync(IncomingResponse response, OutgoingRequest request, IIceProxy sender, CancellationToken cancellationToken)

Parameters

response IncomingResponse

The incoming response to decode.

request OutgoingRequest

The outgoing request.

sender IIceProxy

The proxy that sent the request.

cancellationToken CancellationToken

A cancellation token that receives the cancellation requests.

Returns

ValueTask<LocatorRegistryProxy?>

The decoded response payload.