Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceBox::ServiceObserverPrx Class Reference

Observes the status of services in an IceBox server. More...

#include <IceBox/IceBox.h>

Inheritance diagram for IceBox::ServiceObserverPrx:

Public Member Functions

 ServiceObserverPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 ServiceObserverPrx (const ServiceObserverPrx &other) noexcept
 Copy constructor.
 ServiceObserverPrx (ServiceObserverPrx &&other) noexcept
 Move constructor.
ServiceObserverPrxoperator= (const ServiceObserverPrx &rhs) noexcept
 Copy assignment operator.
ServiceObserverPrxoperator= (ServiceObserverPrx &&rhs) noexcept
 Move assignment operator.
void servicesStarted (const ::Ice::StringSeq &services, const Ice::Context &context=Ice::noExplicitContext) const
 Receives the names of the services that were started.
std::future< void > servicesStartedAsync (const ::Ice::StringSeq &services, const Ice::Context &context=Ice::noExplicitContext) const
 Receives the names of the services that were started.
std::function< void()> servicesStartedAsync (const ::Ice::StringSeq &services, 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
 Receives the names of the services that were started.
void servicesStopped (const ::Ice::StringSeq &services, const Ice::Context &context=Ice::noExplicitContext) const
 Receives the names of the services that were stopped.
std::future< void > servicesStoppedAsync (const ::Ice::StringSeq &services, const Ice::Context &context=Ice::noExplicitContext) const
 Receives the names of the services that were stopped.
std::function< void()> servicesStoppedAsync (const ::Ice::StringSeq &services, 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
 Receives the names of the services that were stopped.
Public Member Functions inherited from Ice::Proxy< ServiceObserverPrx, Ice::ObjectPrx >
ServiceObserverPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
ServiceObserverPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
ServiceObserverPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
ServiceObserverPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
ServiceObserverPrx 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.
ServiceObserverPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
ServiceObserverPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
ServiceObserverPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
ServiceObserverPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
ServiceObserverPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
ServiceObserverPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
ServiceObserverPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
ServiceObserverPrx 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.
ServiceObserverPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
ServiceObserverPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
ServiceObserverPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
ServiceObserverPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
ServiceObserverPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
ServiceObserverPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const ServiceObserverPrx * 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

Observes the status of services in an IceBox server.

Remarks
This interface is implemented by admin tools that monitor the IceBox server.
See also
ServiceManager#addObserver

Definition at line 45 of file ServiceManager.h.


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