Package com.zeroc.Ice
Interface ObjectPrx
- All Known Subinterfaces:
AdapterObserverPrx,AdminPrx,AdminSessionPrx,ApplicationObserverPrx,FileIteratorPrx,FileParserPrx,FileServerPrx,FinderPrx,IdentitySetPrx,LocatorFinderPrx,LocatorPrx,LocatorPrx,LocatorRegistryPrx,LoggerAdminPrx,MetricsAdminPrx,NodeObserverPrx,ObjectObserverPrx,PermissionsVerifierPrx,ProcessPrx,PropertiesAdminPrx,QueryPrx,RegistryObserverPrx,RegistryPrx,RemoteLoggerPrx,RouterFinderPrx,RouterPrx,RouterPrx,ServiceManagerPrx,ServiceObserverPrx,SessionControlPrx,SessionManagerPrx,SessionPrx,SessionPrx,SSLPermissionsVerifierPrx,SSLSessionManagerPrx,StringSetPrx,TopicManagerPrx,TopicPrx,UserAccountMapperPrx
public interface ObjectPrx
Base interface of all object proxies.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe type ID of the target's interface: "::Ice::Object".A special empty context that is indistinguishable from the absence of a context parameter. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectPrxcheckedCast(ObjectPrx obj) Casts a proxy toObjectPrx.static ObjectPrxcheckedCast(ObjectPrx obj, String facet) Creates a new proxy that is identical to the passed proxy, except for its facet.static ObjectPrxCreates a new proxy that is identical to the passed proxy, except for its facet.static ObjectPrxcheckedCast(ObjectPrx obj, Map<String, String> context) Casts a proxy toObjectPrx.booleanReturns whether this proxy equals the passed object.default ObjectPrxice_adapterId(String newAdapterId) Returns a proxy that is identical to this proxy, except for the adapter ID.default ObjectPrxReturns a proxy that is identical to this proxy, but uses batch datagram invocations.default ObjectPrxReturns a proxy that is identical to this proxy, but uses batch oneway invocations.default ObjectPrxice_collocationOptimized(boolean b) Returns a proxy that is identical to this proxy, except for collocation optimization.default ObjectPrxice_compress(boolean co) Returns a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints.default ObjectPrxice_connectionCached(boolean newCache) Returns a proxy that is identical to this proxy, except for connection caching.default ObjectPrxice_connectionId(String connectionId) Returns a proxy that is identical to this proxy, except for its connection ID.default ObjectPrxice_context(Map<String, String> newContext) Returns a proxy that is identical to this proxy, except for the per-proxy context.default ObjectPrxReturns a proxy that is identical to this proxy, but uses datagram invocations.default ObjectPrxReturns a proxy that is identical to this proxy, except for the encoding used to marshal parameters.default ObjectPrxice_endpoints(Endpoint[] newEndpoints) Returns a proxy that is identical to this proxy, except for the endpoints.default ObjectPrxReturns a proxy that is identical to this proxy, except for the endpoint selection policy.default ExecutorReturns an executor object that uses the Ice thread pool.Returns a proxy that is identical to this proxy, except for the facet.default ObjectPrxice_fixed(Connection connection) Returns a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection.voidFlushes any pending batched requests for this communicator.Asynchronously flushes any pending batched requests for this communicator.Returns the adapter ID for this proxy.Returns the cachedConnectionfor this proxy.Returns the communicator that created this proxy.Obtains the compression override setting of this proxy.Returns theConnectionfor this proxy.Asynchronously gets the connection for this proxy.Returns the connection id of this proxy.Returns the per-proxy context for this proxy.Returns the encoding version used to marshal request parameters.Endpoint[]Returns the endpoints used by this proxy.Returns how this proxy selects endpoints (randomly or ordered).Returns the facet for this proxy.Returns the identity embedded in this proxy.intReturns the invocation timeout of this proxy.Returns the locator for this proxy.intReturns the locator cache timeout of this proxy.Returns the router for this proxy.Obtains the timeout override of this proxy.ice_id()Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.ice_idAsync(Map<String, String> context) Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.ice_identity(Identity newIdentity) Returns a proxy that is identical to this proxy, except for the identity.String[]ice_ids()Returns the Slice type IDs of the interfaces supported by the target object of this proxy.String[]Returns the Slice type IDs of the interfaces supported by the target object of this proxy.Returns the Slice type IDs of the interfaces supported by the target object of this proxy.ice_idsAsync(Map<String, String> context) Returns the Slice type IDs of the interfaces supported by the target object of this proxy.default ObjectPrxice_invocationTimeout(int newTimeout) Returns a proxy that is identical to this proxy, except for the invocation timeout.ice_invoke(String operation, OperationMode mode, byte[] inParams) Invokes an operation dynamically.ice_invoke(String operation, OperationMode mode, byte[] inParams, Map<String, String> context) Invokes an operation dynamically.ice_invokeAsync(String operation, OperationMode mode, byte[] inParams) Invokes an operation dynamically and asynchronously.ice_invokeAsync(String operation, OperationMode mode, byte[] inParams, Map<String, String> context) Invokes an operation dynamically and asynchronously.booleanTests whether this object supports a specific Slice interface.booleanTests whether this object supports a specific Slice interface.ice_isAAsync(String id) Tests whether this object supports a specific Slice interface.ice_isAAsync(String id, Map<String, String> context) Tests whether this object supports a specific Slice interface.booleanReturns whether this proxy uses batch datagram invocations.booleanReturns whether this proxy uses batch oneway invocations.booleanReturns whether this proxy uses collocation optimization.booleanReturns whether this proxy caches connections.booleanReturns whether this proxy uses datagram invocations.booleanReturns whether this proxy is a fixed proxy.booleanReturns whether this proxy uses oneway invocations.booleanReturns whether this proxy prefers secure endpoints.booleanReturns whether this proxy uses only secure endpoints.booleanReturns whether this proxy uses twoway invocations.default ObjectPrxice_locator(LocatorPrx locator) Returns a proxy that is identical to this proxy, except for the locator.default ObjectPrxice_locatorCacheTimeout(int newTimeout) Returns a proxy that is identical to this proxy, except for the locator cache timeout.default ObjectPrxReturns a proxy that is identical to this proxy, but uses oneway invocations.voidice_ping()Tests whether the target object of this proxy can be reached.voidTests whether the target object of this proxy can be reached.Tests whether the target object of this proxy can be reached.ice_pingAsync(Map<String, String> context) Tests whether the target object of this proxy can be reached.default ObjectPrxice_preferSecure(boolean b) Returns a proxy that is identical to this proxy, except for its endpoint selection policy.default ObjectPrxice_router(RouterPrx router) Returns a proxy that is identical to this proxy, except for the router.default ObjectPrxice_secure(boolean b) Returns a proxy that is identical to this proxy, except for how it selects endpoints.static StringReturns the Slice type ID associated with this type.default ObjectPrxice_timeout(int t) Returns a proxy that is identical to this proxy, except for its connection timeout setting which overrides the timeot setting from the proxy endpoints.default ObjectPrxReturns a proxy that is identical to this proxy, but uses twoway invocations.static ObjectPrxread(InputStream istr) Reads a proxy from the stream.static ObjectPrxuncheckedCast(ObjectPrx obj) Casts a proxy toObjectPrx.static ObjectPrxuncheckedCast(ObjectPrx obj, String facet) Creates a new proxy that is identical to the passed proxy, except for its facet.static voidwrite(OutputStream ostr, ObjectPrx v) Writes a proxy to the stream.
-
Field Details
-
ice_staticId
The type ID of the target's interface: "::Ice::Object".- See Also:
-
noExplicitContext
A special empty context that is indistinguishable from the absence of a context parameter. For example,prx.op(noExplicitContext)is the same asprx.op()and does not override the current implicit context (if any).
-
-
Method Details
-
ice_getCommunicator
Communicator ice_getCommunicator()Returns the communicator that created this proxy.- Returns:
- The communicator that created this proxy.
-
ice_isA
Tests whether this object supports a specific Slice interface.- Parameters:
id- The type ID of the Slice interface to test against.- Returns:
trueif the target object has the interface specified byidor derives from the interface specified byid.
-
ice_isA
Tests whether this object supports a specific Slice interface.- Parameters:
id- The type ID of the Slice interface to test against.context- The context map for the invocation.- Returns:
trueif the target object has the interface specified byidor derives from the interface specified byid.
-
ice_isAAsync
Tests whether this object supports a specific Slice interface.- Parameters:
id- The type ID of the Slice interface to test against.- Returns:
- A future for the completion of the request.
-
ice_isAAsync
Tests whether this object supports a specific Slice interface.- Parameters:
id- The type ID of the Slice interface to test against.context- The context map for the invocation.- Returns:
- A future for the completion of the request.
-
ice_ping
void ice_ping()Tests whether the target object of this proxy can be reached. -
ice_ping
Tests whether the target object of this proxy can be reached.- Parameters:
context- The context map for the invocation.
-
ice_pingAsync
CompletableFuture<Void> ice_pingAsync()Tests whether the target object of this proxy can be reached.- Returns:
- A future for the completion of the request.
-
ice_pingAsync
Tests whether the target object of this proxy can be reached.- Parameters:
context- The context map for the invocation.- Returns:
- A future for the completion of the request.
-
ice_ids
String[] ice_ids()Returns the Slice type IDs of the interfaces supported by the target object of this proxy.- Returns:
- The Slice type IDs of the interfaces supported by the target object, in base-to-derived
order. The first element of the returned array is always
::Ice::Object.
-
ice_ids
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.- Parameters:
context- The context map for the invocation.- Returns:
- The Slice type IDs of the interfaces supported by the target object, in base-to-derived
order. The first element of the returned array is always
::Ice::Object.
-
ice_idsAsync
CompletableFuture<String[]> ice_idsAsync()Returns the Slice type IDs of the interfaces supported by the target object of this proxy.- Returns:
- A future for the completion of the request.
-
ice_idsAsync
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.- Parameters:
context- The context map for the invocation.- Returns:
- A future for the completion of the request.
-
ice_id
String ice_id()Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.- Returns:
- The Slice type ID of the most-derived interface.
-
ice_id
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.- Parameters:
context- The context map for the invocation.- Returns:
- The Slice type ID of the most-derived interface.
-
ice_idAsync
CompletableFuture<String> ice_idAsync()Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.- Returns:
- A future for the completion of the request.
-
ice_idAsync
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.- Parameters:
context- The context map for the invocation.- Returns:
- A future for the completion of the request.
-
ice_invoke
Invokes an operation dynamically.- Parameters:
operation- The name of the operation to invoke.mode- The operation mode (normal or idempotent).inParams- The encoded in-parameters for the operation.- Returns:
- The results of the invocation.
- See Also:
-
ice_invoke
Object.Ice_invokeResult ice_invoke(String operation, OperationMode mode, byte[] inParams, Map<String, String> context) Invokes an operation dynamically.- Parameters:
operation- The name of the operation to invoke.mode- The operation mode (normal or idempotent).inParams- The encoded in-parameters for the operation.context- The context map for the invocation.- Returns:
- The results of the invocation.
- See Also:
-
ice_invokeAsync
CompletableFuture<Object.Ice_invokeResult> ice_invokeAsync(String operation, OperationMode mode, byte[] inParams) Invokes an operation dynamically and asynchronously.- Parameters:
operation- The name of the operation to invoke.mode- The operation mode (normal or idempotent).inParams- The encoded in-parameters for the operation.- Returns:
- A future for the completion of the request.
- See Also:
-
ice_invokeAsync
CompletableFuture<Object.Ice_invokeResult> ice_invokeAsync(String operation, OperationMode mode, byte[] inParams, Map<String, String> context) Invokes an operation dynamically and asynchronously.- Parameters:
operation- The name of the operation to invoke.mode- The operation mode (normal or idempotent).inParams- The encoded in-parameters for the operation. for the operation. The return value follows any out-parameters.context- The context map for the invocation.- Returns:
- A future for the completion of the request.
- See Also:
-
ice_getIdentity
Identity ice_getIdentity()Returns the identity embedded in this proxy.- Returns:
- The identity of the target object.
-
ice_identity
Returns a proxy that is identical to this proxy, except for the identity.- Parameters:
newIdentity- The identity for the new proxy.- Returns:
- The proxy with the new identity.
-
ice_getContext
Returns the per-proxy context for this proxy.- Returns:
- The per-proxy context. If the proxy does not have a per-proxy (implicit) context, the return value
is
null.
-
ice_context
Returns a proxy that is identical to this proxy, except for the per-proxy context.- Parameters:
newContext- The context for the new proxy.- Returns:
- The proxy with the new per-proxy context.
-
ice_getFacet
String ice_getFacet()Returns the facet for this proxy.- Returns:
- The facet for this proxy. If the proxy uses the default facet, the return value is the empty string.
-
ice_facet
Returns a proxy that is identical to this proxy, except for the facet.- Parameters:
newFacet- The facet for the new proxy.- Returns:
- The proxy with the new facet.
-
ice_getAdapterId
String ice_getAdapterId()Returns the adapter ID for this proxy.- Returns:
- The adapter ID. If the proxy does not have an adapter ID, the return value is the empty string.
-
ice_adapterId
Returns a proxy that is identical to this proxy, except for the adapter ID.- Parameters:
newAdapterId- The adapter ID for the new proxy.- Returns:
- The proxy with the new adapter ID.
-
ice_getEndpoints
Endpoint[] ice_getEndpoints()Returns the endpoints used by this proxy.- Returns:
- The endpoints used by this proxy.
- See Also:
-
ice_endpoints
Returns a proxy that is identical to this proxy, except for the endpoints.- Parameters:
newEndpoints- The endpoints for the new proxy.- Returns:
- The proxy with the new endpoints.
-
ice_getLocatorCacheTimeout
int ice_getLocatorCacheTimeout()Returns the locator cache timeout of this proxy.- Returns:
- The locator cache timeout value (in seconds).
- See Also:
-
ice_getInvocationTimeout
int ice_getInvocationTimeout()Returns the invocation timeout of this proxy.- Returns:
- The invocation timeout value (in milliseconds).
-
ice_getConnectionId
String ice_getConnectionId()Returns the connection id of this proxy.- Returns:
- The connection id.
-
ice_fixed
Returns a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection.- Parameters:
connection- The fixed proxy connection.- Returns:
- A fixed proxy bound to the given connection.
-
ice_isFixed
boolean ice_isFixed()Returns whether this proxy is a fixed proxy.- Returns:
trueif this is a fixed proxy,falseotherwise.
-
ice_locatorCacheTimeout
Returns a proxy that is identical to this proxy, except for the locator cache timeout.- Parameters:
newTimeout- The new locator cache timeout (in seconds).- Returns:
- The proxy with the new timeout.
- See Also:
-
ice_invocationTimeout
Returns a proxy that is identical to this proxy, except for the invocation timeout.- Parameters:
newTimeout- The new invocation timeout (in milliseconds).- Returns:
- The proxy with the new timeout.
-
ice_isConnectionCached
boolean ice_isConnectionCached()Returns whether this proxy caches connections.- Returns:
trueif this proxy caches connections;falseotherwise.
-
ice_connectionCached
Returns a proxy that is identical to this proxy, except for connection caching.- Parameters:
newCache-trueif the new proxy should cache connections;falseotherwise.- Returns:
- The proxy with the specified caching policy.
-
ice_getEndpointSelection
EndpointSelectionType ice_getEndpointSelection()Returns how this proxy selects endpoints (randomly or ordered).- Returns:
- The endpoint selection policy.
- See Also:
-
ice_endpointSelection
Returns a proxy that is identical to this proxy, except for the endpoint selection policy.- Parameters:
newType- The new endpoint selection policy.- Returns:
- The proxy with the specified endpoint selection policy.
- See Also:
-
ice_isSecure
boolean ice_isSecure()Returns whether this proxy uses only secure endpoints.- Returns:
Trueif this proxy communicates only via secure endpoints;falseotherwise.
-
ice_secure
Returns a proxy that is identical to this proxy, except for how it selects endpoints.- Parameters:
b- Ifbistrue, only endpoints that use a secure transport are used by the new proxy. Ifbis false, the returned proxy uses both secure and insecure endpoints.- Returns:
- The proxy with the specified selection policy.
-
ice_encodingVersion
Returns a proxy that is identical to this proxy, except for the encoding used to marshal parameters.- Parameters:
e- The encoding version to use to marshal request parameters.- Returns:
- The proxy with the specified encoding version.
-
ice_getEncodingVersion
EncodingVersion ice_getEncodingVersion()Returns the encoding version used to marshal request parameters.- Returns:
- The encoding version.
-
ice_isPreferSecure
boolean ice_isPreferSecure()Returns whether this proxy prefers secure endpoints.- Returns:
trueif the proxy always attempts to invoke via secure endpoints before it attempts to use insecure endpoints;falseotherwise.
-
ice_preferSecure
Returns a proxy that is identical to this proxy, except for its endpoint selection policy.- Parameters:
b- Ifbistrue, the new proxy will use secure endpoints for invocations and only use insecure endpoints if an invocation cannot be made via secure endpoints. Ifbisfalse, the proxy prefers insecure endpoints to secure ones.- Returns:
- The proxy with the specified selection policy.
-
ice_getRouter
RouterPrx ice_getRouter()Returns the router for this proxy.- Returns:
- The router for the proxy. If no router is configured for the proxy, the return value
is
null.
-
ice_router
Returns a proxy that is identical to this proxy, except for the router.- Parameters:
router- The router for the new proxy.- Returns:
- The proxy with the specified router.
-
ice_getLocator
LocatorPrx ice_getLocator()Returns the locator for this proxy.- Returns:
- The locator for this proxy. If no locator is configured, the return value is
null.
-
ice_locator
Returns a proxy that is identical to this proxy, except for the locator.- Parameters:
locator- The locator for the new proxy.- Returns:
- The proxy with the specified locator.
-
ice_isCollocationOptimized
boolean ice_isCollocationOptimized()Returns whether this proxy uses collocation optimization.- Returns:
trueif the proxy uses collocation optimization;falseotherwise.
-
ice_collocationOptimized
Returns a proxy that is identical to this proxy, except for collocation optimization.- Parameters:
b-trueif the new proxy enables collocation optimization;falseotherwise.- Returns:
- The proxy with the specified collocation optimization.
-
ice_twoway
Returns a proxy that is identical to this proxy, but uses twoway invocations.- Returns:
- A proxy that uses twoway invocations.
-
ice_isTwoway
boolean ice_isTwoway()Returns whether this proxy uses twoway invocations.- Returns:
trueif this proxy uses twoway invocations;falseotherwise.
-
ice_oneway
Returns a proxy that is identical to this proxy, but uses oneway invocations.- Returns:
- A proxy that uses oneway invocations.
-
ice_isOneway
boolean ice_isOneway()Returns whether this proxy uses oneway invocations.- Returns:
trueif this proxy uses oneway invocations;falseotherwise.
-
ice_batchOneway
Returns a proxy that is identical to this proxy, but uses batch oneway invocations.- Returns:
- A new proxy that uses batch oneway invocations.
-
ice_isBatchOneway
boolean ice_isBatchOneway()Returns whether this proxy uses batch oneway invocations.- Returns:
trueif this proxy uses batch oneway invocations;falseotherwise.
-
ice_datagram
Returns a proxy that is identical to this proxy, but uses datagram invocations.- Returns:
- A new proxy that uses datagram invocations.
-
ice_isDatagram
boolean ice_isDatagram()Returns whether this proxy uses datagram invocations.- Returns:
trueif this proxy uses datagram invocations;falseotherwise.
-
ice_batchDatagram
Returns a proxy that is identical to this proxy, but uses batch datagram invocations.- Returns:
- A new proxy that uses batch datagram invocations.
-
ice_isBatchDatagram
boolean ice_isBatchDatagram()Returns whether this proxy uses batch datagram invocations.- Returns:
trueif this proxy uses batch datagram invocations;falseotherwise.
-
ice_compress
Returns a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints.- Parameters:
co-trueenables compression for the new proxy;falsedisables compression.- Returns:
- A proxy with the specified compression setting.
-
ice_getCompress
Obtains the compression override setting of this proxy.- Returns:
- The compression override setting. If no optional value is present, no override is set. Otherwise, true if compression is enabled, false otherwise.
-
ice_timeout
Returns a proxy that is identical to this proxy, except for its connection timeout setting which overrides the timeot setting from the proxy endpoints.- Parameters:
t- The connection timeout for the proxy in milliseconds.- Returns:
- A proxy with the specified timeout.
-
ice_getTimeout
OptionalInt ice_getTimeout()Obtains the timeout override of this proxy.- Returns:
- The timeout override. If no optional value is present, no override is set. Otherwise, returns the timeout override value.
-
ice_connectionId
Returns a proxy that is identical to this proxy, except for its connection ID.- Parameters:
connectionId- The connection ID for the new proxy. An empty string removes the connection ID.- Returns:
- A proxy with the specified connection ID.
-
ice_getConnection
Connection ice_getConnection()Returns theConnectionfor this proxy. If the proxy does not yet have an established connection, it first attempts to create a connection.- Returns:
- The
Connectionfor this proxy. - Throws:
CollocationOptimizationException- If the proxy uses collocation optimization and denotes a collocated object.- See Also:
-
ice_executor
Returns an executor object that uses the Ice thread pool.- Returns:
- The Executor object.
-
ice_getConnectionAsync
CompletableFuture<Connection> ice_getConnectionAsync()Asynchronously gets the connection for this proxy. The call does not block.- Returns:
- A future for the completion of the request.
-
ice_getCachedConnection
Connection ice_getCachedConnection()Returns the cachedConnectionfor this proxy. If the proxy does not yet have an established connection, it does not attempt to create a connection.- Returns:
- The cached
Connectionfor this proxy (nullif the proxy does not have an established connection). - Throws:
CollocationOptimizationException- If the proxy uses collocation optimization and denotes a collocated object.- See Also:
-
ice_flushBatchRequests
void ice_flushBatchRequests()Flushes any pending batched requests for this communicator. The call blocks until the flush is complete. -
ice_flushBatchRequestsAsync
CompletableFuture<Void> ice_flushBatchRequestsAsync()Asynchronously flushes any pending batched requests for this communicator. The call does not block.- Returns:
- A future for the completion of the request.
-
equals
Returns whether this proxy equals the passed object. Two proxies are equal if they are equal in all respects, that is, if their object identity, endpoints timeout settings, and so on are all equal. -
ice_staticId
Returns the Slice type ID associated with this type.- Returns:
- The Slice type ID.
-
checkedCast
Casts a proxy toObjectPrx. For user-defined types, this call contacts the server and will throw an Ice run-time exception if the target object does not exist or the server cannot be reached.- Parameters:
obj- The proxy to cast to @{link ObjectPrx}.- Returns:
obj.
-
checkedCast
Casts a proxy toObjectPrx. For user-defined types, this call contacts the server and throws an Ice run-time exception if the target object does not exist or the server cannot be reached.- Parameters:
obj- The proxy to cast toObjectPrx.context- TheContextmap for the invocation.- Returns:
obj.
-
checkedCast
Creates a new proxy that is identical to the passed proxy, except for its facet. This call contacts the server and throws an Ice run-time exception if the target object does not exist, the specified facet does not exist, or the server cannot be reached.- Parameters:
obj- The proxy to cast toObjectPrx.facet- The facet for the new proxy.- Returns:
- The new proxy with the specified facet.
-
checkedCast
Creates a new proxy that is identical to the passed proxy, except for its facet. This call contacts the server and throws an Ice run-time exception if the target object does not exist, the specified facet does not exist, or the server cannot be reached.- Parameters:
obj- The proxy to cast toObjectPrx.facet- The facet for the new proxy.context- TheContextmap for the invocation.- Returns:
- The new proxy with the specified facet.
-
uncheckedCast
Casts a proxy toObjectPrx. This call does not contact the server and always succeeds.- Parameters:
obj- The proxy to cast toObjectPrx.- Returns:
obj.
-
uncheckedCast
Creates a new proxy that is identical to the passed proxy, except for its facet. This call does not contact the server and always succeeds.- Parameters:
obj- The proxy to cast toObjectPrx.facet- The facet for the new proxy.- Returns:
- The new proxy with the specified facet.
-
write
Writes a proxy to the stream.- Parameters:
ostr- The destination stream.v- The proxy to write to the stream.
-
read
Reads a proxy from the stream.- Parameters:
istr- The source stream.- Returns:
- A new proxy or null for a nil proxy.
-