Monitors dynamically-registered object adapters. More...
#include <IceGrid/IceGrid.h>
Public Member Functions | |
AdapterObserverPrx (AdapterObserverPrx &&other) noexcept | |
Move constructor. | |
AdapterObserverPrx (const AdapterObserverPrx &other) noexcept | |
Copy constructor. | |
AdapterObserverPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString) | |
Constructs a proxy from a Communicator and a proxy string. | |
void | adapterAdded (const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a dynamically-registered adapter was added. | |
std::future< void > | adapterAddedAsync (const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a dynamically-registered adapter was added. | |
std::function< void()> | adapterAddedAsync (const AdapterInfo &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 dynamically-registered adapter was added. | |
void | adapterInit (const AdapterInfoSeq &adpts, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial list of dynamically registered adapters to the observer. | |
std::future< void > | adapterInitAsync (const AdapterInfoSeq &adpts, const Ice::Context &context=Ice::noExplicitContext) const |
Provides the initial list of dynamically registered adapters to the observer. | |
std::function< void()> | adapterInitAsync (const AdapterInfoSeq &adpts, 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 dynamically registered adapters to the observer. | |
void | adapterRemoved (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a dynamically-registered adapter was removed. | |
std::future< void > | adapterRemovedAsync (std::string_view id, const Ice::Context &context=Ice::noExplicitContext) const |
Notifies the observer that a dynamically-registered adapter was removed. | |
std::function< void()> | adapterRemovedAsync (std::string_view 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 dynamically-registered adapter was removed. | |
void | adapterUpdated (const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
std::future< void > | adapterUpdatedAsync (const AdapterInfo &info, const Ice::Context &context=Ice::noExplicitContext) const |
std::function< void()> | adapterUpdatedAsync (const AdapterInfo &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 |
AdapterObserverPrx & | operator= (AdapterObserverPrx &&rhs) noexcept |
Move assignment operator. | |
AdapterObserverPrx & | operator= (const AdapterObserverPrx &rhs) noexcept |
Copy assignment operator. | |
Public Member Functions inherited from Ice::Proxy< AdapterObserverPrx, Ice::ObjectPrx > | |
AdapterObserverPrx | ice_adapterId (std::string id) const |
Creates a proxy that is identical to this proxy, except for the adapter ID. | |
AdapterObserverPrx | ice_batchDatagram () const |
Creates a proxy that is identical to this proxy, but uses batch datagram invocations. | |
AdapterObserverPrx | ice_batchOneway () const |
Creates a proxy that is identical to this proxy, but uses batch oneway invocations. | |
AdapterObserverPrx | ice_collocationOptimized (bool b) const |
Creates a proxy that is identical to this proxy, except for collocation optimization. | |
AdapterObserverPrx | 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. | |
AdapterObserverPrx | ice_connectionCached (bool b) const |
Creates a proxy that is identical to this proxy, except for connection caching. | |
AdapterObserverPrx | ice_connectionId (std::string id) const |
Creates a proxy that is identical to this proxy, except for its connection ID. | |
AdapterObserverPrx | ice_context (Context context) const |
Creates a proxy that is identical to this proxy, except for the per-proxy context. | |
AdapterObserverPrx | ice_datagram () const |
Creates a proxy that is identical to this proxy, but uses datagram invocations. | |
AdapterObserverPrx | ice_encodingVersion (EncodingVersion version) const |
Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters. | |
AdapterObserverPrx | ice_endpoints (EndpointSeq endpoints) const |
Creates a proxy that is identical to this proxy, except for the endpoints. | |
AdapterObserverPrx | ice_endpointSelection (EndpointSelectionType type) const |
Creates a proxy that is identical to this proxy, except for the endpoint selection policy. | |
AdapterObserverPrx | 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. | |
AdapterObserverPrx | ice_invocationTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the invocation timeout. | |
AdapterObserverPrx | ice_locator (const std::optional< LocatorPrx > &locator) const |
Creates a proxy that is identical to this proxy, except for the locator. | |
AdapterObserverPrx | ice_locatorCacheTimeout (int timeout) const |
Creates a proxy that is identical to this proxy, except for the locator cache timeout. | |
AdapterObserverPrx | ice_oneway () const |
Creates a proxy that is identical to this proxy, but uses oneway invocations. | |
AdapterObserverPrx | ice_router (const std::optional< RouterPrx > &router) const |
Creates a proxy that is identical to this proxy, except for the router. | |
AdapterObserverPrx | ice_twoway () const |
Creates a proxy that is identical to this proxy, but uses twoway invocations. | |
const AdapterObserverPrx * | 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. |