Class LocatorRegistryProxy.Request
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
idstringThe adapter ID.
proxyIceObjectProxy?A dummy proxy created by the object adapter.
proxycarries the object adapter's endpoints. The locator considers an object adapter to be active after it has registered its endpoints. Whenproxyis null, the endpoints are unregistered and the locator considers the object adapter inactive.encodeOptionsIceEncodeOptionsThe 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
adapterIdstringThe adapter ID.
replicaGroupIdstringThe replica group ID.
proxyIceObjectProxy?A dummy proxy created by the object adapter.
proxycarries the object adapter's endpoints. The locator considers an object adapter to be active after it has registered its endpoints. Whenproxyis null, the endpoints are unregistered and the locator considers the object adapter inactive.encodeOptionsIceEncodeOptionsThe 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
idstringThe server ID.
proxyProcessProxy?A proxy to the ProcessProxy object of the server. This proxy is never null.
encodeOptionsIceEncodeOptionsThe Ice encode options.
Returns
- PipeReader
The Ice-encoded payload.