Monitors changes to the state of the registries. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
RegistryObserverPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
RegistryObserverPrx (const RegistryObserverPrx &other) noexcept | |
Copy constructor. | |
RegistryObserverPrx (RegistryObserverPrx &&other) noexcept | |
Move constructor. | |
RegistryObserverPrx & | operator= (const RegistryObserverPrx &rhs) noexcept |
Copy assignment operator. | |
RegistryObserverPrx & | operator= (RegistryObserverPrx &&rhs) noexcept |
Move assignment operator. | |
void | registryDown (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a registry replica went down. | |
std::future< void > | registryDownAsync (std::string_view name, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a registry replica went down. | |
std::function< void()> | registryDownAsync (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 registry replica went down. | |
void | registryInit (const RegistryInfoSeq ®istries, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial state of the registries to the observer. | |
std::future< void > | registryInitAsync (const RegistryInfoSeq ®istries, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial state of the registries to the observer. | |
std::function< void()> | registryInitAsync (const RegistryInfoSeq ®istries, 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 registries to the observer. | |
void | registryUp (const RegistryInfo ®istryReplica, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a registry replica came up. | |
std::future< void > | registryUpAsync (const RegistryInfo ®istryReplica, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a registry replica came up. | |
std::function< void()> | registryUpAsync (const RegistryInfo ®istryReplica, 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 registry replica came up. | |
Public Member Functions inherited from Ice::Proxy< RegistryObserverPrx, Ice::ObjectPrx > | |
RegistryObserverPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
RegistryObserverPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
RegistryObserverPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
RegistryObserverPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
RegistryObserverPrx | 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. | |
RegistryObserverPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
RegistryObserverPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
RegistryObserverPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
RegistryObserverPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
RegistryObserverPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
RegistryObserverPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
RegistryObserverPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
RegistryObserverPrx | 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. | |
RegistryObserverPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
RegistryObserverPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
RegistryObserverPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
RegistryObserverPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
RegistryObserverPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
RegistryObserverPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const RegistryObserverPrx * | 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. |