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

This interface allows applications to monitor changes the state of the registry. More...

#include <IceGrid/IceGrid.h>

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

Public Member Functions

void registryDown (const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
 The nodeDown operation is called to notify an observer that a node went down. More...
 
::std::function< void()> registryDownAsync (const ::std::string &name, ::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 nodeDown operation is called to notify an observer that a node went down. More...
 
template<template< typename > class P = ::std::promise>
auto registryDownAsync (const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The nodeDown operation is called to notify an observer that a node went down. More...
 
void registryInit (const RegistryInfoSeq &registries, const ::Ice::Context &context=::Ice::noExplicitContext)
 The registryInit operation is called after registration of an observer to indicate the state of the registries. More...
 
::std::function< void()> registryInitAsync (const RegistryInfoSeq &registries, ::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 registryInit operation is called after registration of an observer to indicate the state of the registries. More...
 
template<template< typename > class P = ::std::promise>
auto registryInitAsync (const RegistryInfoSeq &registries, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The registryInit operation is called after registration of an observer to indicate the state of the registries. More...
 
void registryUp (const RegistryInfo &node, const ::Ice::Context &context=::Ice::noExplicitContext)
 The nodeUp operation is called to notify an observer that a node came up. More...
 
::std::function< void()> registryUpAsync (const RegistryInfo &node, ::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 nodeUp operation is called to notify an observer that a node came up. More...
 
template<template< typename > class P = ::std::promise>
auto registryUpAsync (const RegistryInfo &node, const ::Ice::Context &context=::Ice::noExplicitContext) -> decltype(::std::declval< P< void >>().get_future())
 The nodeUp operation is called to notify an observer that a node came up. More...
 
- Public Member Functions inherited from Ice::Proxy< RegistryObserverPrx, ::Ice::ObjectPrx >
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > ice_batchDatagram () const
 Obtains a proxy that is identical to this proxy, but uses batch datagram invocations. More...
 
::std::shared_ptr< RegistryObserverPrx > ice_batchOneway () const
 Obtains a proxy that is identical to this proxy, but uses batch oneway invocations. More...
 
::std::shared_ptr< RegistryObserverPrx > ice_collocationOptimized (bool b) const
 Obtains a proxy that is identical to this proxy, except for collocation optimization. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > ice_connectionCached (bool b) const
 Obtains a proxy that is identical to this proxy, except for connection caching. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > 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< RegistryObserverPrx > ice_datagram () const
 Obtains a proxy that is identical to this proxy, but uses datagram invocations. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > ice_endpoints (const ::Ice::EndpointSeq &endpoints) const
 Obtains a proxy that is identical to this proxy, except for the endpoints. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > 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< RegistryObserverPrx > ice_invocationTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the invocation timeout. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > ice_locatorCacheTimeout (int timeout) const
 Obtains a proxy that is identical to this proxy, except for the locator cache timeout. More...
 
::std::shared_ptr< RegistryObserverPrx > ice_oneway () const
 Obtains a proxy that is identical to this proxy, but uses oneway invocations. More...
 
::std::shared_ptr< RegistryObserverPrx > ice_preferSecure (bool b) const
 Obtains a proxy that is identical to this proxy, except for its endpoint selection policy. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > ice_secure (bool b) const
 Obtains a proxy that is identical to this proxy, except for how it selects endpoints. More...
 
::std::shared_ptr< RegistryObserverPrx > 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< RegistryObserverPrx > 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 changes the state of the registry.

Member Function Documentation

◆ ice_staticId()

static const ::std::string& IceGrid::RegistryObserverPrx::ice_staticId ( )
static

Obtains the Slice type ID of this interface.

Returns
The fully-scoped type ID.

◆ registryDown()

void IceGrid::RegistryObserverPrx::registryDown ( const ::std::string &  name,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The nodeDown operation is called to notify an observer that a node went down.

Parameters
nameThe node name.
contextThe Context map to send with the invocation.

◆ registryDownAsync() [1/2]

::std::function<void()> IceGrid::RegistryObserverPrx::registryDownAsync ( const ::std::string &  name,
::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 nodeDown operation is called to notify an observer that a node went down.

Parameters
nameThe node name.
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.

◆ registryDownAsync() [2/2]

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

The nodeDown operation is called to notify an observer that a node went down.

Parameters
nameThe node name.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ registryInit()

void IceGrid::RegistryObserverPrx::registryInit ( const RegistryInfoSeq registries,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The registryInit operation is called after registration of an observer to indicate the state of the registries.

Parameters
registriesThe current state of the registries.
contextThe Context map to send with the invocation.

◆ registryInitAsync() [1/2]

::std::function<void()> IceGrid::RegistryObserverPrx::registryInitAsync ( const RegistryInfoSeq registries,
::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 registryInit operation is called after registration of an observer to indicate the state of the registries.

Parameters
registriesThe current state of the registries.
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.

◆ registryInitAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::RegistryObserverPrx::registryInitAsync ( const RegistryInfoSeq registries,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

The registryInit operation is called after registration of an observer to indicate the state of the registries.

Parameters
registriesThe current state of the registries.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

◆ registryUp()

void IceGrid::RegistryObserverPrx::registryUp ( const RegistryInfo node,
const ::Ice::Context context = ::Ice::noExplicitContext 
)
inline

The nodeUp operation is called to notify an observer that a node came up.

Parameters
nodeThe node state.
contextThe Context map to send with the invocation.

◆ registryUpAsync() [1/2]

::std::function<void()> IceGrid::RegistryObserverPrx::registryUpAsync ( const RegistryInfo node,
::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 nodeUp operation is called to notify an observer that a node came up.

Parameters
nodeThe node state.
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.

◆ registryUpAsync() [2/2]

template<template< typename > class P = ::std::promise>
auto IceGrid::RegistryObserverPrx::registryUpAsync ( const RegistryInfo node,
const ::Ice::Context context = ::Ice::noExplicitContext 
) -> decltype(::std::declval<P<void>>().get_future())
inline

The nodeUp operation is called to notify an observer that a node came up.

Parameters
nodeThe node state.
contextThe Context map to send with the invocation.
Returns
The future object for the invocation.

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