Ice 3.7 C++11 API Reference
|
Base class of all object proxies. More...
#include <Ice/Ice.h>
Public Member Functions | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_adapterId (const ::std::string &id) const |
Obtains a proxy that is identical to this proxy, except for the adapter ID. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_batchDatagram () const |
Obtains a proxy that is identical to this proxy, but uses batch datagram invocations. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_batchOneway () const |
Obtains a proxy that is identical to this proxy, but uses batch oneway invocations. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_collocationOptimized (bool b) const |
Obtains a proxy that is identical to this proxy, except for collocation optimization. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_compress (bool b) const |
Obtains a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_connectionCached (bool b) const |
Obtains a proxy that is identical to this proxy, except for connection caching. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_connectionId (const ::std::string &id) const |
Obtains a proxy that is identical to this proxy, except for its connection ID. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_context (const ::Ice::Context &context) const |
Obtains a proxy that is identical to this proxy, except for the per-proxy context. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_datagram () const |
Obtains a proxy that is identical to this proxy, but uses datagram invocations. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_encodingVersion (const ::Ice::EncodingVersion &version) const |
Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_endpoints (const ::Ice::EndpointSeq &endpoints) const |
Obtains a proxy that is identical to this proxy, except for the endpoints. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_endpointSelection (::Ice::EndpointSelectionType type) const |
Obtains a proxy that is identical to this proxy, except for the endpoint selection policy. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_facet (const ::std::string &facet) const |
Obtains a proxy that is identical to this proxy, except for the facet. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_fixed (const ::std::shared_ptr<::Ice::Connection > &connection) const |
Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection. More... | |
void | ice_flushBatchRequests () |
Flushes any pending batched requests for this communicator. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_flushBatchRequestsAsync () -> decltype(std::declval< P< void >>().get_future()) |
Flushes asynchronously any pending batched requests for this communicator. More... | |
std::function< void()> | ice_flushBatchRequestsAsync (::std::function< void(::std::exception_ptr)> ex, ::std::function< void(bool)> sent=nullptr) |
Flushes asynchronously any pending batched requests for this communicator. More... | |
::std::string | ice_getAdapterId () const |
Obtains the adapter ID for this proxy. More... | |
::std::shared_ptr<::Ice::Connection > | ice_getCachedConnection () const |
Obtains the cached Connection for this proxy. More... | |
::std::shared_ptr<::Ice::Communicator > | ice_getCommunicator () const |
Obtains the communicator that created this proxy. More... | |
::Ice::optional< bool > | ice_getCompress () const |
Obtains the compression override setting of this proxy. More... | |
::std::shared_ptr<::Ice::Connection > | ice_getConnection () |
Obtains the Connection for this proxy. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_getConnectionAsync () -> decltype(std::declval< P<::std::shared_ptr<::Ice::Connection >>>().get_future()) |
Obtains the Connection for this proxy. More... | |
::std::function< void()> | ice_getConnectionAsync (::std::function< void(::std::shared_ptr<::Ice::Connection >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr) |
Obtains the Connection for this proxy. More... | |
::std::string | ice_getConnectionId () const |
Obtains the connection ID of this proxy. More... | |
::Ice::Context | ice_getContext () const |
Obtains the per-proxy context for this proxy. More... | |
::Ice::EncodingVersion | ice_getEncodingVersion () const |
Obtains the encoding version used to marshal request parameters. More... | |
::Ice::EndpointSeq | ice_getEndpoints () const |
Obtains the endpoints used by this proxy. More... | |
::Ice::EndpointSelectionType | ice_getEndpointSelection () const |
Obtains the endpoint selection policy for this proxy (randomly or ordered). More... | |
const ::std::string & | ice_getFacet () const |
Obtains the facet for this proxy. More... | |
::Ice::Identity | ice_getIdentity () const |
Obtains the identity embedded in this proxy. More... | |
::Ice::Int | ice_getInvocationTimeout () const |
Obtains the invocation timeout of this proxy. More... | |
::std::shared_ptr<::Ice::LocatorPrx > | ice_getLocator () const |
Obtains the locator for this proxy. More... | |
::Ice::Int | ice_getLocatorCacheTimeout () const |
Obtains the locator cache timeout of this proxy. More... | |
::std::shared_ptr<::Ice::RouterPrx > | ice_getRouter () const |
Obtains the router for this proxy. More... | |
::Ice::optional< int > | ice_getTimeout () const |
Obtains the timeout override of this proxy. More... | |
::std::string | ice_id (const ::Ice::Context &context=::Ice::noExplicitContext) |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. More... | |
::std::function< void()> | ice_idAsync (::std::function< void(::std::string)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_idAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P<::std::string >>().get_future()) |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_identity (const ::Ice::Identity &id) const |
Obtains a proxy that is identical to this proxy, except for the identity. More... | |
::std::vector<::std::string > | ice_ids (const ::Ice::Context &context=::Ice::noExplicitContext) |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy. More... | |
::std::function< void()> | ice_idsAsync (::std::function< void(::std::vector<::std::string >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_idsAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P<::std::vector<::std::string >>>().get_future()) |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_invocationTimeout (::Ice::Int timeout) const |
Obtains a proxy that is identical to this proxy, except for the invocation timeout. More... | |
bool | ice_invoke (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, ::std::vector<::Ice::Byte > &outParams, const ::Ice::Context &context=::Ice::noExplicitContext) |
Invokes an operation dynamically. More... | |
bool | ice_invoke (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< Byte > &inParams, ::std::vector<::Ice::Byte > &outParams, const ::Ice::Context &context=::Ice::noExplicitContext) |
Invokes an operation dynamically. More... | |
::std::function< void()> | ice_invokeAsync (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, ::std::function< void(bool, ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Invokes an operation dynamically. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_invokeAsync (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::pair< const ::Ice::Byte *, const ::Ice::Byte * > &inParams, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P<::Ice::Object::Ice_invokeResult >>().get_future()) |
Invokes an operation dynamically. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_invokeAsync (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector< Byte > &inParams, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P<::Ice::Object::Ice_invokeResult >>().get_future()) |
Invokes an operation dynamically. More... | |
::std::function< void()> | ice_invokeAsync (const ::std::string &operation, ::Ice::OperationMode mode, const ::std::vector<::Ice::Byte > &inParams, ::std::function< void(bool, ::std::vector<::Ice::Byte >)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Invokes an operation dynamically. More... | |
bool | ice_isA (const ::std::string &typeId, const ::Ice::Context &context=::Ice::noExplicitContext) |
Tests whether this object supports a specific Slice interface. More... | |
::std::function< void()> | ice_isAAsync (const ::std::string &typeId, ::std::function< void(bool)> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Tests whether this object supports a specific Slice interface. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_isAAsync (const ::std::string &typeId, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P< bool >>().get_future()) |
Tests whether this object supports a specific Slice interface. More... | |
bool | ice_isBatchDatagram () const |
Determines whether this proxy uses batch datagram invocations. More... | |
bool | ice_isBatchOneway () const |
Determines whether this proxy uses batch oneway invocations. More... | |
bool | ice_isCollocationOptimized () const |
Determines whether this proxy uses collocation optimization. More... | |
bool | ice_isConnectionCached () const |
Determines whether this proxy caches connections. More... | |
bool | ice_isDatagram () const |
Determines whether this proxy uses datagram invocations. More... | |
bool | ice_isFixed () const |
Determines whether this proxy is a fixed proxy. More... | |
bool | ice_isOneway () const |
Determines whether this proxy uses oneway invocations. More... | |
bool | ice_isPreferSecure () const |
Determines whether this proxy prefers secure endpoints. More... | |
bool | ice_isSecure () const |
Determines whether this proxy uses only secure endpoints. More... | |
bool | ice_isTwoway () const |
Determines whether this proxy uses twoway invocations. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_locator (const ::std::shared_ptr<::Ice::LocatorPrx > &locator) const |
Obtains a proxy that is identical to this proxy, except for the locator. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_locatorCacheTimeout (::Ice::Int timeout) const |
Obtains a proxy that is identical to this proxy, except for the locator cache timeout. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_oneway () const |
Obtains a proxy that is identical to this proxy, but uses oneway invocations. More... | |
void | ice_ping (const ::Ice::Context &context=::Ice::noExplicitContext) |
Tests whether the target object of this proxy can be reached. More... | |
::std::function< void()> | ice_pingAsync (::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext) |
Tests whether the target object of this proxy can be reached. More... | |
template<template< typename > class P = std::promise> | |
auto | ice_pingAsync (const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(std::declval< P< void >>().get_future()) |
Tests whether the target object of this proxy can be reached. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_preferSecure (bool b) const |
Obtains a proxy that is identical to this proxy, except for its endpoint selection policy. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_router (const ::std::shared_ptr<::Ice::RouterPrx > &router) const |
Obtains a proxy that is identical to this proxy, except for the router. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_secure (bool b) const |
Obtains a proxy that is identical to this proxy, except for how it selects endpoints. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_timeout (int timeout) const |
Obtains a proxy that is identical to this proxy, except for its connection timeout setting which overrides the timeot setting from the proxy endpoints. More... | |
::std::string | ice_toString () const |
Obtains a stringified version of this proxy. More... | |
::std::shared_ptr<::Ice::ObjectPrx > | ice_twoway () const |
Obtains a proxy that is identical to this proxy, but uses twoway invocations. More... | |
virtual | ~ObjectPrx ()=default |
Static Public Member Functions | |
static const ::std::string & | ice_staticId () |
Returns the Slice type ID associated with this type. More... | |
Friends | |
bool | operator< (const ObjectPrx &, const ObjectPrx &) |
bool | operator== (const ObjectPrx &, const ObjectPrx &) |
Base class of all object proxies.
|
virtualdefault |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_adapterId | ( | const ::std::string & | id | ) | const |
Obtains a proxy that is identical to this proxy, except for the adapter ID.
id | The adapter ID for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_batchDatagram | ( | ) | const |
Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_batchOneway | ( | ) | const |
Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_collocationOptimized | ( | bool | b | ) | const |
Obtains a proxy that is identical to this proxy, except for collocation optimization.
b | True if the new proxy enables collocation optimization, false otherwise. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_compress | ( | bool | b | ) | const |
Obtains a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints.
b | True enables compression for the new proxy, false disables compression. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_connectionCached | ( | bool | b | ) | const |
Obtains a proxy that is identical to this proxy, except for connection caching.
b | True if the new proxy should cache connections, false otherwise. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_connectionId | ( | const ::std::string & | id | ) | const |
Obtains a proxy that is identical to this proxy, except for its connection ID.
id | The connection ID for the new proxy. An empty string removes the connection ID. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_context | ( | const ::Ice::Context & | context | ) | const |
Obtains a proxy that is identical to this proxy, except for the per-proxy context.
context | The context for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_datagram | ( | ) | const |
Obtains a proxy that is identical to this proxy, but uses datagram invocations.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_encodingVersion | ( | const ::Ice::EncodingVersion & | version | ) | const |
Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
version | The encoding version to use to marshal request parameters. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_endpoints | ( | const ::Ice::EndpointSeq & | endpoints | ) | const |
Obtains a proxy that is identical to this proxy, except for the endpoints.
endpoints | The endpoints for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_endpointSelection | ( | ::Ice::EndpointSelectionType | type | ) | const |
Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
type | The new endpoint selection policy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_facet | ( | const ::std::string & | facet | ) | const |
Obtains a proxy that is identical to this proxy, except for the facet.
facet | The facet for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_fixed | ( | const ::std::shared_ptr<::Ice::Connection > & | connection | ) | const |
Obtains a proxy that is identical to this proxy, except it's a fixed proxy bound the given connection.
connection | The fixed proxy connection. |
|
inline |
Flushes any pending batched requests for this communicator.
The call blocks until the flush is complete.
|
inline |
Flushes asynchronously any pending batched requests for this communicator.
|
inline |
Flushes asynchronously any pending batched requests for this communicator.
ex | The exception callback. |
sent | The sent callback. |
::std::string Ice::ObjectPrx::ice_getAdapterId | ( | ) | const |
Obtains the adapter ID for this proxy.
::std::shared_ptr<::Ice::Connection> Ice::ObjectPrx::ice_getCachedConnection | ( | ) | const |
Obtains the cached Connection for this proxy.
If the proxy does not yet have an established connection, it does not attempt to create a connection.
::std::shared_ptr<::Ice::Communicator> Ice::ObjectPrx::ice_getCommunicator | ( | ) | const |
Obtains the communicator that created this proxy.
::Ice::optional<bool> Ice::ObjectPrx::ice_getCompress | ( | ) | const |
Obtains the compression override setting of this proxy.
|
inline |
Obtains the Connection for this proxy.
If the proxy does not yet have an established connection, it first attempts to create a connection.
|
inline |
Obtains the Connection for this proxy.
If the proxy does not yet have an established connection, it first attempts to create a connection.
|
inline |
Obtains the Connection for this proxy.
If the proxy does not yet have an established connection, it first attempts to create a connection.
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
::std::string Ice::ObjectPrx::ice_getConnectionId | ( | ) | const |
Obtains the connection ID of this proxy.
::Ice::Context Ice::ObjectPrx::ice_getContext | ( | ) | const |
Obtains the per-proxy context for this proxy.
::Ice::EncodingVersion Ice::ObjectPrx::ice_getEncodingVersion | ( | ) | const |
Obtains the encoding version used to marshal request parameters.
::Ice::EndpointSeq Ice::ObjectPrx::ice_getEndpoints | ( | ) | const |
Obtains the endpoints used by this proxy.
::Ice::EndpointSelectionType Ice::ObjectPrx::ice_getEndpointSelection | ( | ) | const |
Obtains the endpoint selection policy for this proxy (randomly or ordered).
const ::std::string& Ice::ObjectPrx::ice_getFacet | ( | ) | const |
Obtains the facet for this proxy.
::Ice::Identity Ice::ObjectPrx::ice_getIdentity | ( | ) | const |
Obtains the identity embedded in this proxy.
::Ice::Int Ice::ObjectPrx::ice_getInvocationTimeout | ( | ) | const |
Obtains the invocation timeout of this proxy.
::std::shared_ptr<::Ice::LocatorPrx> Ice::ObjectPrx::ice_getLocator | ( | ) | const |
Obtains the locator for this proxy.
::Ice::Int Ice::ObjectPrx::ice_getLocatorCacheTimeout | ( | ) | const |
Obtains the locator cache timeout of this proxy.
::std::shared_ptr<::Ice::RouterPrx> Ice::ObjectPrx::ice_getRouter | ( | ) | const |
Obtains the router for this proxy.
::Ice::optional<int> Ice::ObjectPrx::ice_getTimeout | ( | ) | const |
Obtains the timeout override of this proxy.
|
inline |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
context | The context map for the invocation. |
|
inline |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Returns the Slice type ID of the most-derived interface supported by the target object of this proxy.
context | The context map for the invocation. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_identity | ( | const ::Ice::Identity & | id | ) | const |
Obtains a proxy that is identical to this proxy, except for the identity.
id | The identity for the new proxy. |
|
inline |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
context | The context map for the invocation. |
|
inline |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Returns the Slice type IDs of the interfaces supported by the target object of this proxy.
context | The context map for the invocation. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_invocationTimeout | ( | ::Ice::Int | timeout | ) | const |
Obtains a proxy that is identical to this proxy, except for the invocation timeout.
timeout | The new invocation timeout (in milliseconds). |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
outParams | An encapsulation containing the encoded results. |
context | The context map for the invocation. |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
outParams | An encapsulation containing the encoded results. |
context | The context map for the invocation. |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
context | The context map for the invocation. |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
context | The context map for the invocation. |
|
inline |
Invokes an operation dynamically.
operation | The name of the operation to invoke. |
mode | The operation mode (normal or idempotent). |
inParams | An encapsulation containing the encoded in-parameters for the operation. |
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Tests whether this object supports a specific Slice interface.
typeId | The type ID of the Slice interface to test against. |
context | The context map for the invocation. |
|
inline |
Tests whether this object supports a specific Slice interface.
typeId | The type ID of the Slice interface to test against. |
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Tests whether this object supports a specific Slice interface.
typeId | The type ID of the Slice interface to test against. |
context | The context map for the invocation. |
bool Ice::ObjectPrx::ice_isBatchDatagram | ( | ) | const |
Determines whether this proxy uses batch datagram invocations.
bool Ice::ObjectPrx::ice_isBatchOneway | ( | ) | const |
Determines whether this proxy uses batch oneway invocations.
bool Ice::ObjectPrx::ice_isCollocationOptimized | ( | ) | const |
Determines whether this proxy uses collocation optimization.
bool Ice::ObjectPrx::ice_isConnectionCached | ( | ) | const |
Determines whether this proxy caches connections.
bool Ice::ObjectPrx::ice_isDatagram | ( | ) | const |
Determines whether this proxy uses datagram invocations.
bool Ice::ObjectPrx::ice_isFixed | ( | ) | const |
Determines whether this proxy is a fixed proxy.
bool Ice::ObjectPrx::ice_isOneway | ( | ) | const |
Determines whether this proxy uses oneway invocations.
bool Ice::ObjectPrx::ice_isPreferSecure | ( | ) | const |
Determines whether this proxy prefers secure endpoints.
bool Ice::ObjectPrx::ice_isSecure | ( | ) | const |
Determines whether this proxy uses only secure endpoints.
bool Ice::ObjectPrx::ice_isTwoway | ( | ) | const |
Determines whether this proxy uses twoway invocations.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_locator | ( | const ::std::shared_ptr<::Ice::LocatorPrx > & | locator | ) | const |
Obtains a proxy that is identical to this proxy, except for the locator.
locator | The locator for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_locatorCacheTimeout | ( | ::Ice::Int | timeout | ) | const |
Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
timeout | The new locator cache timeout (in seconds). |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_oneway | ( | ) | const |
Obtains a proxy that is identical to this proxy, but uses oneway invocations.
|
inline |
Tests whether the target object of this proxy can be reached.
context | The context map for the invocation. |
|
inline |
Tests whether the target object of this proxy can be reached.
response | The response callback. |
ex | The exception callback. |
sent | The sent callback. |
context | The context map for the invocation. |
|
inline |
Tests whether the target object of this proxy can be reached.
context | The context map for the invocation. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_preferSecure | ( | bool | b | ) | const |
Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
b | If true, the new proxy will use secure endpoints for invocations and only use insecure endpoints if an invocation cannot be made via secure endpoints. If false, the proxy prefers insecure endpoints to secure ones. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_router | ( | const ::std::shared_ptr<::Ice::RouterPrx > & | router | ) | const |
Obtains a proxy that is identical to this proxy, except for the router.
router | The router for the new proxy. |
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_secure | ( | bool | b | ) | const |
Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
b | If true, only endpoints that use a secure transport are used by the new proxy. If false, the returned proxy uses both secure and insecure endpoints. |
|
inlinestatic |
Returns the Slice type ID associated with this type.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_timeout | ( | int | timeout | ) | const |
Obtains a proxy that is identical to this proxy, except for its connection timeout setting which overrides the timeot setting from the proxy endpoints.
timeout | The connection timeout override for the proxy (in milliseconds). |
::std::string Ice::ObjectPrx::ice_toString | ( | ) | const |
Obtains a stringified version of this proxy.
::std::shared_ptr<::Ice::ObjectPrx> Ice::ObjectPrx::ice_twoway | ( | ) | const |
Obtains a proxy that is identical to this proxy, but uses twoway invocations.