|
Ice 3.7 C++98 API Reference
|
An application service managed by a ServiceManager.
More...
#include <IceBox/IceBox.h>


Public Types | |
| typedef ServicePtr | PointerType |
Public Member Functions | |
| virtual void | start (const ::std::string &name, const ::Ice::CommunicatorPtr &communicator, const ::Ice::StringSeq &args)=0 |
| Start the service. | |
| virtual void | stop ()=0 |
| Stop the service. | |
| virtual | ~Service () |
| Public Member Functions inherited from Ice::LocalObject | |
| virtual bool | operator< (const LocalObject &) const |
| virtual bool | operator== (const LocalObject &) const |
| Public Member Functions inherited from IceUtil::Shared | |
| void | __clearFlag (unsigned char flag) |
| virtual void | __decRef () |
| virtual int | __getRef () const |
| bool | __hasFlag (unsigned char flag) |
| virtual void | __incRef () |
| void | __setFlag (unsigned char flag) |
| virtual void | __setNoDelete (bool) |
| Shared & | operator= (const Shared &) |
| Shared () | |
| Shared (const Shared &) | |
| virtual | ~Shared () |
Additional Inherited Members | |
| Static Public Attributes inherited from IceUtil::Shared | |
| static const unsigned char | NoDelete |
| Protected Attributes inherited from IceUtil::Shared | |
| unsigned char | _flags |
| IceUtilInternal::Atomic | _ref |
An application service managed by a ServiceManager.
|
virtual |
|
pure virtual |
Start the service.
The given communicator is created by the ServiceManager for use by the service. This communicator may also be used by other services, depending on the service configuration.
The ServiceManager owns this communicator, and is responsible for destroying it.
| name | The service's name, as determined by the configuration. |
| communicator | A communicator for use by the service. |
| args | The service arguments that were not converted into properties. |
| IceBox::FailureException | Raised if start failed. |
|
pure virtual |
Stop the service.