Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
IceBox::Service Class Referenceabstract

An application service managed by a ServiceManager. More...

#include <IceBox/IceBox.h>

Inheritance diagram for IceBox::Service:
Collaboration diagram for IceBox::Service:

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)
Sharedoperator= (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

Detailed Description

An application service managed by a ServiceManager.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~Service()

virtual IceBox::Service::~Service ( )
virtual

Member Function Documentation

◆ start()

virtual void IceBox::Service::start ( const ::std::string & name,
const ::Ice::CommunicatorPtr & communicator,
const ::Ice::StringSeq & args )
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.

Parameters
nameThe service's name, as determined by the configuration.
communicatorA communicator for use by the service.
argsThe service arguments that were not converted into properties.
Exceptions
IceBox::FailureExceptionRaised if start failed.

◆ stop()

virtual void IceBox::Service::stop ( )
pure virtual

Stop the service.


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