Table of Contents

Class ILocatorService.Response

Namespace
IceRpc.Slice.Ice
Assembly
IceRpc.Locator.dll

Provides static methods that encode return values into response payloads.

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

Remarks

The Slice compiler generated this static class from the Slice interface Ice::Locator.

Methods

EncodeFindAdapterById(ServiceAddress?, SliceEncodeOptions?)

Encodes the return value of operation findAdapterById into a response payload.

public static PipeReader EncodeFindAdapterById(ServiceAddress? returnValue, SliceEncodeOptions? encodeOptions = null)

Parameters

returnValue ServiceAddress

The operation return value.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

A new response payload.

EncodeFindObjectById(ServiceAddress?, SliceEncodeOptions?)

Encodes the return value of operation findObjectById into a response payload.

public static PipeReader EncodeFindObjectById(ServiceAddress? returnValue, SliceEncodeOptions? encodeOptions = null)

Parameters

returnValue ServiceAddress

The operation return value.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

A new response payload.

EncodeGetRegistry(LocatorRegistryProxy?, SliceEncodeOptions?)

Encodes the return value of operation getRegistry into a response payload.

public static PipeReader EncodeGetRegistry(LocatorRegistryProxy? returnValue, SliceEncodeOptions? encodeOptions = null)

Parameters

returnValue LocatorRegistryProxy?

The operation return value.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

A new response payload.