Monitors well-known objects that are added, updated or removed using AdminPrx. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
ObjectObserverPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
ObjectObserverPrx (const ObjectObserverPrx &other) noexcept | |
Copy constructor. | |
ObjectObserverPrx (ObjectObserverPrx &&other) noexcept | |
Move constructor. | |
void | objectAdded (const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was added. | |
std::future< void > | objectAddedAsync (const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was added. | |
std::function< void()> | objectAddedAsync (const ObjectInfo &info, 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 well-known object was added. | |
void | objectInit (const ObjectInfoSeq &objects, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial list of well-known objects to the observer. | |
std::future< void > | objectInitAsync (const ObjectInfoSeq &objects, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial list of well-known objects to the observer. | |
std::function< void()> | objectInitAsync (const ObjectInfoSeq &objects, 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 list of well-known objects to the observer. | |
void | objectRemoved (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was removed. | |
std::future< void > | objectRemovedAsync (const ::Ice::Identity &id, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was removed. | |
std::function< void()> | objectRemovedAsync (const ::Ice::Identity &id, 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 well-known object was removed. | |
void | objectUpdated (const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was updated. | |
std::future< void > | objectUpdatedAsync (const ObjectInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a well-known object was updated. | |
std::function< void()> | objectUpdatedAsync (const ObjectInfo &info, 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 well-known object was updated. | |
ObjectObserverPrx & | operator= (const ObjectObserverPrx &rhs) noexcept |
Copy assignment operator. | |
ObjectObserverPrx & | operator= (ObjectObserverPrx &&rhs) noexcept |
Move assignment operator. | |
Public Member Functions inherited from Ice::Proxy< ObjectObserverPrx, Ice::ObjectPrx > | |
ObjectObserverPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
ObjectObserverPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
ObjectObserverPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
ObjectObserverPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
ObjectObserverPrx | 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. | |
ObjectObserverPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
ObjectObserverPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
ObjectObserverPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
ObjectObserverPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
ObjectObserverPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
ObjectObserverPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
ObjectObserverPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
ObjectObserverPrx | 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. | |
ObjectObserverPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
ObjectObserverPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
ObjectObserverPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
ObjectObserverPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
ObjectObserverPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
ObjectObserverPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const ObjectObserverPrx * | 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. |
Monitors well-known objects that are added, updated or removed using AdminPrx.