Ice 3.7 C++11 API Reference
|
Administers a set of Service instances. More...
#include <IceBox/IceBox.h>
Public Types | |
using | ProxyType = ServiceManagerPrx |
Public Member Functions | |
virtual void | addObserver (::std::shared_ptr< ServiceObserverPrx > observer, const ::Ice::Current ¤t)=0 |
Registers a new observer with the ServiceManager. More... | |
virtual ::Ice::SliceChecksumDict | getSliceChecksums (const ::Ice::Current ¤t) const =0 |
Returns the checksums for the IceBox Slice definitions. More... | |
virtual ::std::string | ice_id (const ::Ice::Current ¤t) const override |
Obtains a Slice type ID representing the most-derived interface supported by this object. More... | |
virtual ::std::vector<::std::string > | ice_ids (const ::Ice::Current ¤t) const override |
Obtains a list of the Slice type IDs representing the interfaces supported by this object. More... | |
virtual bool | ice_isA (::std::string id, const ::Ice::Current ¤t) const override |
Determines whether this object supports an interface with the given Slice type ID. More... | |
virtual void | shutdown (const ::Ice::Current ¤t)=0 |
Shut down all services. More... | |
virtual void | startService (::std::string service, const ::Ice::Current ¤t)=0 |
Start an individual service. More... | |
virtual void | stopService (::std::string service, const ::Ice::Current ¤t)=0 |
Stop an individual service. More... | |
Public Member Functions inherited from Ice::Object | |
virtual bool | ice_dispatch (Ice::Request &request, std::function< bool()> response=nullptr, std::function< bool(std::exception_ptr)> error=nullptr) |
Dispatches an invocation to a servant. More... | |
virtual std::string | ice_id (const Current ¤t) const |
Returns the Slice type ID of the most-derived interface supported by this object. More... | |
virtual std::vector< std::string > | ice_ids (const Current ¤t) const |
Returns the Slice type IDs of the interfaces supported by this object. More... | |
virtual bool | ice_isA (std::string s, const Current ¤t) const |
Tests whether this object supports a specific Slice interface. More... | |
virtual void | ice_ping (const Current ¤t) const |
Tests whether this object can be reached. More... | |
virtual | ~Object ()=default |
Static Public Member Functions | |
static const ::std::string & | ice_staticId () |
Obtains the Slice type ID corresponding to this class. More... | |
Static Public Member Functions inherited from Ice::Object | |
static const std::string & | ice_staticId () |
Obtains the Slice type ID of this type. More... | |
|
pure virtual |
Registers a new observer with the ServiceManager.
observer | The new observer |
current | The Current object for the invocation. |
|
pure virtual |
Returns the checksums for the IceBox Slice definitions.
current | The Current object for the invocation. |
|
override |
Obtains a Slice type ID representing the most-derived interface supported by this object.
current | The Current object for the invocation. |
|
override |
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
current | The Current object for the invocation. |
|
overridevirtual |
Determines whether this object supports an interface with the given Slice type ID.
id | The fully-scoped Slice type ID. |
current | The Current object for the invocation. |
|
static |
Obtains the Slice type ID corresponding to this class.
|
pure virtual |
Shut down all services.
This causes stop to be invoked on all configured services.
current | The Current object for the invocation. |
|
pure virtual |
Start an individual service.
service | The service name. |
current | The Current object for the invocation. |
IceBox::AlreadyStartedException | If the service is already running. |
IceBox::NoSuchServiceException | If no service could be found with the given name. |
|
pure virtual |
Stop an individual service.
service | The service name. |
current | The Current object for the invocation. |
IceBox::AlreadyStoppedException | If the service is already stopped. |
IceBox::NoSuchServiceException | If no service could be found with the given name. |