Table of Contents

Class LocatorRegistryProxy.Request

Namespace
IceRpc.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

Methods

EncodeSetAdapterDirectProxy(string, IceObjectProxy?, IceEncodeOptions?)

Encodes the argument(s) of operation setAdapterDirectProxy into a request payload.

public static PipeReader EncodeSetAdapterDirectProxy(string id, IceObjectProxy? proxy, IceEncodeOptions? encodeOptions = null)

Parameters

id string

The adapter ID.

proxy IceObjectProxy?

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

encodeOptions IceEncodeOptions

The Ice encode options.

Returns

PipeReader

The Ice-encoded payload.

EncodeSetReplicatedAdapterDirectProxy(string, string, IceObjectProxy?, IceEncodeOptions?)

Encodes the argument(s) of operation setReplicatedAdapterDirectProxy into a request payload.

public static PipeReader EncodeSetReplicatedAdapterDirectProxy(string adapterId, string replicaGroupId, IceObjectProxy? proxy, IceEncodeOptions? encodeOptions = null)

Parameters

adapterId string

The adapter ID.

replicaGroupId string

The replica group ID.

proxy IceObjectProxy?

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

encodeOptions IceEncodeOptions

The Ice encode options.

Returns

PipeReader

The Ice-encoded payload.

EncodeSetServerProcessProxy(string, ProcessProxy?, IceEncodeOptions?)

Encodes the argument(s) of operation setServerProcessProxy into a request payload.

public static PipeReader EncodeSetServerProcessProxy(string id, ProcessProxy? proxy, IceEncodeOptions? encodeOptions = null)

Parameters

id string

The server ID.

proxy ProcessProxy?

A proxy to the ProcessProxy object of the server. This proxy is never null.

encodeOptions IceEncodeOptions

The Ice encode options.

Returns

PipeReader

The Ice-encoded payload.