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

Administers the services of an IceBox server. More...

#include <IceBox/IceBox.h>

Inheritance diagram for IceBox::ServiceManagerPrx:

Public Member Functions

 ServiceManagerPrx (const Ice::CommunicatorPtr &communicator, std::string_view proxyString)
 Constructs a proxy from a Communicator and a proxy string.
 ServiceManagerPrx (const ServiceManagerPrx &other) noexcept
 Copy constructor.
 ServiceManagerPrx (ServiceManagerPrx &&other) noexcept
 Move constructor.
void addObserver (const std::optional< ServiceObserverPrx > &observer, const Ice::Context &context=Ice::noExplicitContext) const
 Registers a new observer with this service manager.
std::future< void > addObserverAsync (const std::optional< ServiceObserverPrx > &observer, const Ice::Context &context=Ice::noExplicitContext) const
 Registers a new observer with this service manager.
std::function< void()> addObserverAsync (const std::optional< ServiceObserverPrx > &observer, 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
 Registers a new observer with this service manager.
ServiceManagerPrxoperator= (const ServiceManagerPrx &rhs) noexcept
 Copy assignment operator.
ServiceManagerPrxoperator= (ServiceManagerPrx &&rhs) noexcept
 Move assignment operator.
void shutdown (const Ice::Context &context=Ice::noExplicitContext) const
 Shuts down all services.
std::future< void > shutdownAsync (const Ice::Context &context=Ice::noExplicitContext) const
 Shuts down all services.
std::function< void()> shutdownAsync (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
 Shuts down all services.
void startService (std::string_view service, const Ice::Context &context=Ice::noExplicitContext) const
 Starts a service.
std::future< void > startServiceAsync (std::string_view service, const Ice::Context &context=Ice::noExplicitContext) const
 Starts a service.
std::function< void()> startServiceAsync (std::string_view service, 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
 Starts a service.
void stopService (std::string_view service, const Ice::Context &context=Ice::noExplicitContext) const
 Stops a service.
std::future< void > stopServiceAsync (std::string_view service, const Ice::Context &context=Ice::noExplicitContext) const
 Stops a service.
std::function< void()> stopServiceAsync (std::string_view service, 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
 Stops a service.
Public Member Functions inherited from Ice::Proxy< ServiceManagerPrx, Ice::ObjectPrx >
ServiceManagerPrx ice_adapterId (std::string id) const
 Creates a proxy that is identical to this proxy, except for the adapter ID.
ServiceManagerPrx ice_batchDatagram () const
 Creates a proxy that is identical to this proxy, but uses batch datagram invocations.
ServiceManagerPrx ice_batchOneway () const
 Creates a proxy that is identical to this proxy, but uses batch oneway invocations.
ServiceManagerPrx ice_collocationOptimized (bool b) const
 Creates a proxy that is identical to this proxy, except for collocation optimization.
ServiceManagerPrx 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.
ServiceManagerPrx ice_connectionCached (bool b) const
 Creates a proxy that is identical to this proxy, except for connection caching.
ServiceManagerPrx ice_connectionId (std::string id) const
 Creates a proxy that is identical to this proxy, except for its connection ID.
ServiceManagerPrx ice_context (Context context) const
 Creates a proxy that is identical to this proxy, except for the per-proxy context.
ServiceManagerPrx ice_datagram () const
 Creates a proxy that is identical to this proxy, but uses datagram invocations.
ServiceManagerPrx ice_encodingVersion (EncodingVersion version) const
 Creates a proxy that is identical to this proxy, except for the encoding used to marshal parameters.
ServiceManagerPrx ice_endpoints (EndpointSeq endpoints) const
 Creates a proxy that is identical to this proxy, except for the endpoints.
ServiceManagerPrx ice_endpointSelection (EndpointSelectionType type) const
 Creates a proxy that is identical to this proxy, except for the endpoint selection policy.
ServiceManagerPrx 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.
ServiceManagerPrx ice_invocationTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the invocation timeout.
ServiceManagerPrx ice_locator (const std::optional< LocatorPrx > &locator) const
 Creates a proxy that is identical to this proxy, except for the locator.
ServiceManagerPrx ice_locatorCacheTimeout (int timeout) const
 Creates a proxy that is identical to this proxy, except for the locator cache timeout.
ServiceManagerPrx ice_oneway () const
 Creates a proxy that is identical to this proxy, but uses oneway invocations.
ServiceManagerPrx ice_router (const std::optional< RouterPrx > &router) const
 Creates a proxy that is identical to this proxy, except for the router.
ServiceManagerPrx ice_twoway () const
 Creates a proxy that is identical to this proxy, but uses twoway invocations.
const ServiceManagerPrx * 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

Administers the services of an IceBox server.

Definition at line 153 of file ServiceManager.h.


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