Ice 3.7 C++11 API Reference
Loading...
Searching...
No Matches
IceDiscovery::LookupReplyPrx Class Reference

The LookupReply interface is used by IceDiscovery clients to answer requests received on the Lookup interface. More...

#include <IceDiscovery/IceDiscovery.h>

Inheritance diagram for IceDiscovery::LookupReplyPrx:
Collaboration diagram for IceDiscovery::LookupReplyPrx:

Public Member Functions

void foundAdapterById (const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext)
 Reply to the findAdpaterById request.
::std::function< void()> foundAdapterByIdAsync (const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Reply to the findAdpaterById request.
template<template< typename > class P = ::std::promise>
auto foundAdapterByIdAsync (const ::std::string &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, bool isReplicaGroup, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void > >().get_future())
 Reply to the findAdpaterById request.
void foundObjectById (const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::Ice::Context &context=::Ice::noExplicitContext)
 Reply to the findObjectById request.
::std::function< void()> foundObjectByIdAsync (const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 Reply to the findObjectById request.
template<template< typename > class P = ::std::promise>
auto foundObjectByIdAsync (const ::Ice::Identity &id, const ::std::shared_ptr<::Ice::ObjectPrx > &prx, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void > >().get_future())
 Reply to the findObjectById request.
Public Member Functions inherited from Ice::Proxy< LookupReplyPrx, ::Ice::ObjectPrx >
::std::shared_ptr< LookupReplyPrx > ice_adapterId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for the adapter ID.
::std::shared_ptr< LookupReplyPrx > ice_batchDatagram () const
 Obtains a proxy that is identical to this proxy, but uses batch datagram invocations.
::std::shared_ptr< LookupReplyPrx > ice_batchOneway () const
 Obtains a proxy that is identical to this proxy, but uses batch oneway invocations.
::std::shared_ptr< LookupReplyPrx > ice_collocationOptimized (bool b) const
 Obtains a proxy that is identical to this proxy, except for collocation optimization.
::std::shared_ptr< LookupReplyPrx > 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.
::std::shared_ptr< LookupReplyPrx > ice_connectionCached (bool b) const
 Obtains a proxy that is identical to this proxy, except for connection caching.
::std::shared_ptr< LookupReplyPrx > ice_connectionId (const ::std::string &id) const
 Obtains a proxy that is identical to this proxy, except for its connection ID.
::std::shared_ptr< LookupReplyPrx > ice_context (const ::Ice::Context &context) const
 Obtains a proxy that is identical to this proxy, except for the per-proxy context.
::std::shared_ptr< LookupReplyPrx > ice_datagram () const
 Obtains a proxy that is identical to this proxy, but uses datagram invocations.
::std::shared_ptr< LookupReplyPrx > ice_encodingVersion (const ::Ice::EncodingVersion &version) const
 Obtains a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
::std::shared_ptr< LookupReplyPrx > ice_endpoints (const ::Ice::EndpointSeq &endpoints) const
 Obtains a proxy that is identical to this proxy, except for the endpoints.
::std::shared_ptr< LookupReplyPrx > ice_endpointSelection (::Ice::EndpointSelectionType type) const
 Obtains a proxy that is identical to this proxy, except for the endpoint selection policy.
::std::shared_ptr< LookupReplyPrx > 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.
::std::shared_ptr< LookupReplyPrx > ice_invocationTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the invocation timeout.
::std::shared_ptr< LookupReplyPrx > ice_locator (const ::std::shared_ptr<::Ice::LocatorPrx > &locator) const
 Obtains a proxy that is identical to this proxy, except for the locator.
::std::shared_ptr< LookupReplyPrx > ice_locatorCacheTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the locator cache timeout.
::std::shared_ptr< LookupReplyPrx > ice_oneway () const
 Obtains a proxy that is identical to this proxy, but uses oneway invocations.
::std::shared_ptr< LookupReplyPrx > ice_preferSecure (bool b) const
 Obtains a proxy that is identical to this proxy, except for its endpoint selection policy.
::std::shared_ptr< LookupReplyPrx > ice_router (const ::std::shared_ptr<::Ice::RouterPrx > &router) const
 Obtains a proxy that is identical to this proxy, except for the router.
::std::shared_ptr< LookupReplyPrx > ice_secure (bool b) const
 Obtains a proxy that is identical to this proxy, except for how it selects endpoints.
::std::shared_ptr< LookupReplyPrx > 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.
::std::shared_ptr< LookupReplyPrx > ice_twoway () const
 Obtains a proxy that is identical to this proxy, but uses twoway invocations.

Static Public Member Functions

static const ::std::string & ice_staticId ()
 Obtains the Slice type ID of this interface.

Detailed Description

The LookupReply interface is used by IceDiscovery clients to answer requests received on the Lookup interface.

Member Function Documentation

◆ foundAdapterById()

void IceDiscovery::LookupReplyPrx::foundAdapterById ( const ::std::string & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
bool isReplicaGroup,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Reply to the findAdpaterById request.

Parameters
idThe adapter ID.
prxThe adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter endpoints.
isReplicaGroupTrue if the adapter is also a member of a replica group.
contextThe Context map to send with the invocation.

◆ foundAdapterByIdAsync() [1/2]

::std::function< void()> IceDiscovery::LookupReplyPrx::foundAdapterByIdAsync ( const ::std::string & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
bool isReplicaGroup,
::std::function< void()> response,
::std::function< void(::std::exception_ptr)> ex = nullptr,
::std::function< void(bool)> sent = nullptr,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Reply to the findAdpaterById request.

Parameters
idThe adapter ID.
prxThe adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter endpoints.
isReplicaGroupTrue if the adapter is also a member of a replica group.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ foundAdapterByIdAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceDiscovery::LookupReplyPrx::foundAdapterByIdAsync ( const ::std::string & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
bool isReplicaGroup,
const ::Ice::Context & context = ::Ice::noExplicitContext ) -> decltype(::std::declval< P< void > >().get_future())
inline

Reply to the findAdpaterById request.

Parameters
idThe adapter ID.
prxThe adapter proxy (a dummy proxy created by the adapter). The proxy provides the adapter endpoints.
isReplicaGroupTrue if the adapter is also a member of a replica group.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ foundObjectById()

void IceDiscovery::LookupReplyPrx::foundObjectById ( const ::Ice::Identity & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Reply to the findObjectById request.

Parameters
idThe identity of the object.
prxThe proxy of the object.
contextThe Context map to send with the invocation.

◆ foundObjectByIdAsync() [1/2]

::std::function< void()> IceDiscovery::LookupReplyPrx::foundObjectByIdAsync ( const ::Ice::Identity & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
::std::function< void()> response,
::std::function< void(::std::exception_ptr)> ex = nullptr,
::std::function< void(bool)> sent = nullptr,
const ::Ice::Context & context = ::Ice::noExplicitContext )
inline

Reply to the findObjectById request.

Parameters
idThe identity of the object.
prxThe proxy of the object.
responseThe response callback.
exThe exception callback.
sentThe sent callback.
contextThe Context map to send with the invocation.
Returns
A function that can be called to cancel the invocation locally.

◆ foundObjectByIdAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceDiscovery::LookupReplyPrx::foundObjectByIdAsync ( const ::Ice::Identity & id,
const ::std::shared_ptr<::Ice::ObjectPrx > & prx,
const ::Ice::Context & context = ::Ice::noExplicitContext ) -> decltype(::std::declval< P< void > >().get_future())
inline

Reply to the findObjectById request.

Parameters
idThe identity of the object.
prxThe proxy of the object.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ ice_staticId()

const ::std::string & IceDiscovery::LookupReplyPrx::ice_staticId ( )
static

Obtains the Slice type ID of this interface.

Returns
The fully-scoped type ID.

The documentation for this class was generated from the following file: