Table of Contents

Class LocatorRegistryProxy.Request

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

Provides static methods that encode operation arguments into request payloads.

public static class LocatorRegistryProxy.Request
Inheritance
LocatorRegistryProxy.Request
Inherited Members

Remarks

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

Methods

EncodeSetAdapterDirectProxy(string, ServiceAddress?, SliceEncodeOptions?)

Encodes the arguments of operation setAdapterDirectProxy into a request payload.

public static PipeReader EncodeSetAdapterDirectProxy(string id, ServiceAddress? proxy, SliceEncodeOptions? encodeOptions = null)

Parameters

id string

The adapter ID.

proxy ServiceAddress

A dummy service address created by the object adapter. proxy carries the object adapter's server addresses. The locator considers an object adapter to be active after it has registered its server addresses. When proxy is null, the server addresses are unregistered and the locator considers the object adapter inactive.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

The payload encoded with Slice1.

EncodeSetReplicatedAdapterDirectProxy(string, string, ServiceAddress?, SliceEncodeOptions?)

Encodes the arguments of operation setReplicatedAdapterDirectProxy into a request payload.

public static PipeReader EncodeSetReplicatedAdapterDirectProxy(string adapterId, string replicaGroupId, ServiceAddress? proxy, SliceEncodeOptions? encodeOptions = null)

Parameters

adapterId string

The adapter ID.

replicaGroupId string

The replica group ID.

proxy ServiceAddress

A dummy service address created by the object adapter. proxy carries the object adapter's server addresses. The locator considers an object adapter to be active after it has registered its server addresses. When proxy is null, the server addresses are unregistered and the locator considers the object adapter inactive.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

The payload encoded with Slice1.

EncodeSetServerProcessProxy(string, ProcessProxy, SliceEncodeOptions?)

Encodes the arguments of operation setServerProcessProxy into a request payload.

public static PipeReader EncodeSetServerProcessProxy(string serverId, ProcessProxy proxy, SliceEncodeOptions? encodeOptions = null)

Parameters

serverId string

The server ID.

proxy ProcessProxy

A proxy for the Process service of the server application.

encodeOptions SliceEncodeOptions

The Slice encode options.

Returns

PipeReader

The payload encoded with Slice1.