Table of Contents

Class IceObjectProxy.Response

Namespace
IceRpc.Ice
Assembly
IceRpc.Ice.dll

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

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

Methods

DecodeIceIdsAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation ice_ids.

public static ValueTask<string[]> DecodeIceIdsAsync(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<string[]>

The decoded response payload.

DecodeIceIsAAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation ice_isA.

public static ValueTask<bool> DecodeIceIsAAsync(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<bool>

The decoded response payload.

DecodeIcePingAsync(IncomingResponse, OutgoingRequest, IIceProxy, CancellationToken)

Decodes an incoming response for operation ice_ping.

public static ValueTask DecodeIcePingAsync(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

A value task that completes when the decoding of the response payload completes.