Constructs a new LocatorPrx proxy.
The communicator for the new proxy.
The string representation of the proxy.
The new LocatorPrx proxy.
Checks whether the specified object is equal to this object.
The object to compare with.
true
if the specified object is equal to this object, false
otherwise.
Finds an object adapter by adapter ID and returns a dummy proxy with the object adapter's endpoint(s).
The adapter ID.
Optional
context: Map<string, string>The Context map to send with the invocation.
An Ice.AsyncResult object representing the result of the invocation, which resolves to:
id
was not found.Ice.AdapterNotFoundException Thrown when an object adapter with this adapter ID was not found. The caller should treat this exception like a null return value.
Finds an object by identity and returns a dummy proxy with the endpoint(s) that can be used to reach this object. This dummy proxy may be an indirect proxy that requires further resolution using Ice.LocatorPrx.findAdapterById.
The identity.
Optional
context: Map<string, string>The Context map to send with the invocation.
An Ice.AsyncResult object representing the result of the invocation, which resolves to:
Ice.ObjectNotFoundException Thrown when an object with the requested identity was not found. The caller should treat this exception like a null return value.
Gets a proxy to the locator registry.
Optional
context: Map<string, string>The Context map to send with the invocation.
An Ice.AsyncResult object representing the result of the invocation, which resolves to:
Creates a new proxy identical to this one, but with a different adapter ID.
The adapter ID for the new proxy.
A new proxy with the specified adapter ID.
Creates a new proxy identical to this one, but configured to use batch oneway invocations.
A new proxy configured to use batch oneway invocations.
Creates a new proxy identical to this one, but with a different connection caching configuration.
The connection caching configuration for the new proxy: true
if the new proxy should cache
connections, false
otherwise.
A new proxy configured with the specified connection caching policy.
Creates a new proxy identical to this one, but with a different connection ID.
The connection ID for the new proxy. An empty string removes the connection ID.
A new proxy configured with the specified connection ID.
Creates a new proxy identical to this one, but with a different per-proxy context.
The context map for the new proxy.
A new proxy with the specified per-proxy context.
Creates a new proxy identical to this one, but with a different encoding version used to marshal parameters.
The encoding version to use for marshaling request parameters.
A new proxy configured with the specified encoding version.
Creates a new proxy identical to this one, but with different endpoints.
The endpoints for the new proxy.
A new proxy with the specified endpoints.
Creates a new proxy identical to this one, but with a different endpoint selection policy.
The endpoint selection policy for the new proxy.
A new proxy with the specified endpoint selection policy.
Creates a new proxy identical to this one, but with a different facet.
The facet for the new proxy.
A new proxy with the specified facet.
Creates a new proxy identical to this one, but as a fixed proxy bound to the specified connection.
The connection to be used by the new fixed proxy.
A new fixed proxy bound to the specified connection.
Flushes any pending batched requests for this proxy.
An asynchronous result that is resolved when the pending batched requests for this proxy are flushed.
Retrieves the adapter ID associated with this proxy.
The adapter ID. If the proxy does not have an adapter ID, an empty string is returned.
Retrieves the cached connection for this proxy.
If the proxy does not yet have an established connection, it does not attempt to create one.
The cached connection for this proxy, or null
if no connection is established.
Retrieves the communicator instance that created this proxy.
The communicator instance that created this proxy.
Retrieves the connection used by this proxy. If the proxy does not yet have an established connection, it attempts to create one.
An asynchronous result that resolves to the connection used by this proxy. If the connection establishment fails, the promise is rejected with an error.
Retrieves the connection ID used by this proxy.
The connection ID currently associated with this proxy.
Retrieves the per-proxy context used by this proxy.
The per-proxy context currently used by this proxy.
Retrieves the encoding version used to marshal request parameters.
The encoding version currently used by this proxy.
Retrieves the endpoint selection policy used by this proxy.
The endpoint selection policy currently used by this proxy.
Retrieves the facet used by this proxy.
The facet currently used by this proxy. If the proxy uses the default facet, an empty string is returned.
Retrieves the identity embedded in this proxy.
The identity of the target object associated with this proxy.
Retrieves the invocation timeout used by this proxy.
The invocation timeout value (in milliseconds) currently used by this proxy.
Retrieves the locator used by this proxy.
The locator currently used by this proxy. If no locator is configured, null
is returned.
Retrieves the locator cache timeout used by this proxy.
The locator cache timeout value (in seconds) currently used by this proxy.
Retrieves the Slice type ID of the most-derived interface supported by the target object of this proxy.
Optional
context: Map<string, string>An optional context map for the invocation.
An asynchronous result that resolves to the Slice type ID of the most-derived interface supported by the target object.
Creates a new proxy identical to this one, but with a different identity.
The identity for the new proxy.
A new proxy with the specified identity.
Retrieves the Slice type IDs of all interfaces supported by the target object of this proxy.
Optional
context: Map<string, string>An optional context map for the invocation.
An asynchronous result that resolves to an array of Slice type IDs representing the interfaces supported by the target object of this proxy.
Creates a new proxy identical to this one, but with a different invocation timeout.
The invocation timeout (in milliseconds) to be used by the new proxy.
A new proxy configured with the specified invocation timeout.
Determines if this object supports a specific Slice interface.
The type ID of the Slice interface to check.
Optional
context: Map<string, string>An optional context map for the invocation.
An asynchronous result that resolves to true
if this object supports the interface specified
by id
, or if it derives from the specified interface. Otherwise, it resolves to false
.
Determines whether this proxy uses batch oneway invocations.
true
if this proxy uses batch oneway invocations, false
otherwise.
Checks whether this proxy caches connections.
true
if this proxy caches connections, false
otherwise.
Checks whether this proxy is a fixed proxy.
true
if this proxy is a fixed proxy, false
otherwise.
Determines whether this proxy uses oneway invocations.
true
if this proxy uses oneway invocations, false
otherwise.
Determines whether this proxy uses twoway invocations.
true
if this proxy uses twoway invocations, false
otherwise.
Creates a new proxy identical to this one, but with a different locator.
The locator to be used by the new proxy.
A new proxy configured with the specified locator.
Creates a new proxy identical to this one, but with a different locator cache timeout.
The locator cache timeout (in seconds) to be used by the new proxy.
A new proxy configured with the specified locator cache timeout.
Creates a new proxy identical to this one, but configured to use oneway invocations.
A new proxy configured to use oneway invocations.
Checks if the target object of this proxy is reachable.
Optional
context: Map<string, string>An optional context map for the invocation.
An asynchronous result that resolves when the ping operation completes. If the target object is unreachable, the result is rejected with an error.
Returns a string representation of this proxy.
A string representing this proxy.
Creates a new proxy identical to this one, but configured to use twoway invocations.
A new proxy configured to uses twoway invocations.
Static
checkedCreates a new proxy from an existing proxy after confirming the target object's type via a remote invocation.
The source proxy.
Optional
facet: stringAn optional facet name.
Optional
context: Map<string, string>The request context.
A proxy with the requested type and facet, or null if the target object does not support the requested type.
Static
ice_Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
The Slice type ID of the most-derived interface supported by the target object.
Static
uncheckedCreates a new proxy from an existing proxy.
The source proxy.
Optional
facet: stringAn optional facet name.
A new proxy with the requested type and facet, or null if the source proxy is null.
Creates a new proxy from an existing proxy.
The source proxy.
Optional
facet: stringAn optional facet name.
A new proxy with the requested type and facet, or null if the source proxy is null.
Client applications use the Locator object to resolve Ice indirect proxies. This object also allows server applications to retrieve a proxy to the associated Ice.LocatorRegistryPrx object where they can register their object adapters.