Ice 3.7 C++11 API Reference
Public Member Functions | Static Public Member Functions | List of all members
IceGrid::AdapterObserverPrx Class Reference

This interface allows applications to monitor the state of object adapters that are registered with IceGrid. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::AdapterObserverPrx:
Inheritance graph
[legend]
Collaboration diagram for IceGrid::AdapterObserverPrx:
Collaboration graph
[legend]

Public Member Functions

void adapterAdded (const AdapterInfo &info, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added. More...
 
::std::function< void()> adapterAddedAsync (const AdapterInfo &info, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added. More...
 
template<template< typename > class P = ::std::promise>
auto adapterAddedAsync (const AdapterInfo &info, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added. More...
 
void adapterInit (const AdapterInfoSeq &adpts, const ::Ice::Context &context=::Ice::noExplicitContext)
 adapterInit is called after registration of an observer to indicate the state of the registry. More...
 
::std::function< void()> adapterInitAsync (const AdapterInfoSeq &adpts, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 adapterInit is called after registration of an observer to indicate the state of the registry. More...
 
template<template< typename > class P = ::std::promise>
auto adapterInitAsync (const AdapterInfoSeq &adpts, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 adapterInit is called after registration of an observer to indicate the state of the registry. More...
 
void adapterRemoved (const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed. More...
 
::std::function< void()> adapterRemovedAsync (const ::std::string &id, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed. More...
 
template<template< typename > class P = ::std::promise>
auto adapterRemovedAsync (const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed. More...
 
void adapterUpdated (const AdapterInfo &info, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated. More...
 
::std::function< void()> adapterUpdatedAsync (const AdapterInfo &info, ::std::function< void()> response, ::std::function< void(::std::exception_ptr)> ex=nullptr, ::std::function< void(bool)> sent=nullptr, const ::Ice::Context &context=::Ice::noExplicitContext)
 The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated. More...
 
template<template< typename > class P = ::std::promise>
auto adapterUpdatedAsync (const AdapterInfo &info, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated. More...
 
- Public Member Functions inherited from Ice::Proxy< AdapterObserverPrx, ::Ice::ObjectPrx >
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > ice_batchDatagram () const
 Obtains a proxy that is identical to this proxy, but uses batch datagram invocations. More...
 
::std::shared_ptr< AdapterObserverPrx > ice_batchOneway () const
 Obtains a proxy that is identical to this proxy, but uses batch oneway invocations. More...
 
::std::shared_ptr< AdapterObserverPrx > ice_collocationOptimized (bool b) const
 Obtains a proxy that is identical to this proxy, except for collocation optimization. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > ice_connectionCached (bool b) const
 Obtains a proxy that is identical to this proxy, except for connection caching. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > 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< AdapterObserverPrx > ice_datagram () const
 Obtains a proxy that is identical to this proxy, but uses datagram invocations. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > ice_endpoints (const ::Ice::EndpointSeq &endpoints) const
 Obtains a proxy that is identical to this proxy, except for the endpoints. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > 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...
 
::std::shared_ptr< AdapterObserverPrx > ice_invocationTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the invocation timeout. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > ice_locatorCacheTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the locator cache timeout. More...
 
::std::shared_ptr< AdapterObserverPrx > ice_oneway () const
 Obtains a proxy that is identical to this proxy, but uses oneway invocations. More...
 
::std::shared_ptr< AdapterObserverPrx > ice_preferSecure (bool b) const
 Obtains a proxy that is identical to this proxy, except for its endpoint selection policy. More...
 
::std::shared_ptr< AdapterObserverPrx > 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< AdapterObserverPrx > ice_secure (bool b) const
 Obtains a proxy that is identical to this proxy, except for how it selects endpoints. More...
 
::std::shared_ptr< AdapterObserverPrx > 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::shared_ptr< AdapterObserverPrx > ice_twoway () const
 Obtains a proxy that is identical to this proxy, but uses twoway invocations. More...
 

Static Public Member Functions

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

Detailed Description

This interface allows applications to monitor the state of object adapters that are registered with IceGrid.

Member Function Documentation

◆ adapterAdded()

void IceGrid::AdapterObserverPrx::adapterAdded ( const AdapterInfo info,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added.

Parameters
infoThe details of the new adapter.
contextThe Context map to send with the invocation.

◆ adapterAddedAsync() [1/2]

::std::function<void()> IceGrid::AdapterObserverPrx::adapterAddedAsync ( const AdapterInfo info,
::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

The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added.

Parameters
infoThe details of the new adapter.
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.

◆ adapterAddedAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdapterObserverPrx::adapterAddedAsync ( const AdapterInfo info,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

The adapterAdded operation is called to notify an observer when a dynamically-registered adapter was added.

Parameters
infoThe details of the new adapter.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ adapterInit()

void IceGrid::AdapterObserverPrx::adapterInit ( const AdapterInfoSeq adpts,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

adapterInit is called after registration of an observer to indicate the state of the registry.

Parameters
adptsThe adapters that were dynamically registered with the registry (not through the deployment mechanism).
contextThe Context map to send with the invocation.

◆ adapterInitAsync() [1/2]

::std::function<void()> IceGrid::AdapterObserverPrx::adapterInitAsync ( const AdapterInfoSeq adpts,
::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

adapterInit is called after registration of an observer to indicate the state of the registry.

Parameters
adptsThe adapters that were dynamically registered with the registry (not through the deployment mechanism).
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.

◆ adapterInitAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdapterObserverPrx::adapterInitAsync ( const AdapterInfoSeq adpts,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

adapterInit is called after registration of an observer to indicate the state of the registry.

Parameters
adptsThe adapters that were dynamically registered with the registry (not through the deployment mechanism).
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ adapterRemoved()

void IceGrid::AdapterObserverPrx::adapterRemoved ( const ::std::string &  id,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.

Parameters
idThe ID of the removed adapter.
contextThe Context map to send with the invocation.

◆ adapterRemovedAsync() [1/2]

::std::function<void()> IceGrid::AdapterObserverPrx::adapterRemovedAsync ( const ::std::string &  id,
::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

The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.

Parameters
idThe ID of the removed adapter.
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.

◆ adapterRemovedAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdapterObserverPrx::adapterRemovedAsync ( const ::std::string &  id,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.

Parameters
idThe ID of the removed adapter.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ adapterUpdated()

void IceGrid::AdapterObserverPrx::adapterUpdated ( const AdapterInfo info,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.

Parameters
infoThe details of the updated adapter.
contextThe Context map to send with the invocation.

◆ adapterUpdatedAsync() [1/2]

::std::function<void()> IceGrid::AdapterObserverPrx::adapterUpdatedAsync ( const AdapterInfo info,
::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

The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.

Parameters
infoThe details of the updated adapter.
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.

◆ adapterUpdatedAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::AdapterObserverPrx::adapterUpdatedAsync ( const AdapterInfo info,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.

Parameters
infoThe details of the updated adapter.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ ice_staticId()

static const ::std::string& IceGrid::AdapterObserverPrx::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: