Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::NodeObserverPrx Class Reference

Monitors changes to the state of the nodes. More...

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::NodeObserverPrx:

Public Member Functions

 NodeObserverPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 NodeObserverPrx (const NodeObserverPrx &other) noexcept
 Copy constructor.
 NodeObserverPrx (NodeObserverPrx &&other) noexcept
 Move constructor.
void nodeDown (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node went down.
std::future< void > nodeDownAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node went down.
std::function< void()> nodeDownAsync (std::string_view name, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node went down.
void nodeInit (const NodeDynamicInfoSeq &nodes, const Ice::Context &context=Ice::noExplicitContext) const
 Provides the initial state of the nodes to the observer.
std::future< void > nodeInitAsync (const NodeDynamicInfoSeq &nodes, const Ice::Context &context=Ice::noExplicitContext) const
 Provides the initial state of the nodes to the observer.
std::function< void()> nodeInitAsync (const NodeDynamicInfoSeq &nodes, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Provides the initial state of the nodes to the observer.
void nodeUp (const NodeDynamicInfo &node, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node came up.
std::future< void > nodeUpAsync (const NodeDynamicInfo &node, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node came up.
std::function< void()> nodeUpAsync (const NodeDynamicInfo &node, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that a node came up.
NodeObserverPrxoperator= (const NodeObserverPrx &rhs) noexcept
 Copy assignment operator.
NodeObserverPrxoperator= (NodeObserverPrx &&rhs) noexcept
 Move assignment operator.
void updateAdapter (std::string_view node, const AdapterDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of an object adapter changed.
std::future< void > updateAdapterAsync (std::string_view node, const AdapterDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of an object adapter changed.
std::function< void()> updateAdapterAsync (std::string_view node, const AdapterDynamicInfo &updatedInfo, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of an object adapter changed.
void updateServer (std::string_view node, const ServerDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of a server changed.
std::future< void > updateServerAsync (std::string_view node, const ServerDynamicInfo &updatedInfo, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of a server changed.
std::function< void()> updateServerAsync (std::string_view node, const ServerDynamicInfo &updatedInfo, std::function< void()> response, std::function< void(std::exception_ptr)> exception=nullptr, std::function< void(bool)> sent=nullptr, const Ice::Context &context=Ice::noExplicitContext) const
 Notifies the observer that the state of a server changed.
Public Member Functions inherited from Ice::Proxy< NodeObserverPrx, Ice::ObjectPrx >
NodeObserverPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
NodeObserverPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
NodeObserverPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
NodeObserverPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
NodeObserverPrx ice_compress (bool b) const
 Creates a proxy that is identical to this proxy, except for its compression setting which overrides the compression setting from the proxy endpoints.
NodeObserverPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
NodeObserverPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
NodeObserverPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
NodeObserverPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
NodeObserverPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
NodeObserverPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
NodeObserverPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
NodeObserverPrx ice_fixed (ConnectionPtr connection) const
 Creates a proxy that is identical to this proxy, except it's a fixed proxy bound to the given connection.
NodeObserverPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
NodeObserverPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
NodeObserverPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
NodeObserverPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
NodeObserverPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
NodeObserverPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const NodeObserverPrx * operator-> () const noexcept
 The arrow operator.

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

Monitors changes to the state of the nodes.

Definition at line 1731 of file Admin.h.


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