Ice 3.7 Slice API Reference
Operations | List of all members
IceBox::ServiceManager Interface Reference

Administers a set of Service instances. More...

defined in <IceBox/IceBox.ice>

interface ServiceManager { ... }

Operations

void addObserver (ServiceObserver *observer)
 Registers a new observer with the ServiceManager. More...
 
idempotent Ice::SliceChecksumDict getSliceChecksums ()
 Returns the checksums for the IceBox Slice definitions. More...
 
void shutdown ()
 Shut down all services. More...
 
void startService (string service) throws AlreadyStartedException, NoSuchServiceException
 Start an individual service. More...
 
void stopService (string service) throws AlreadyStoppedException, NoSuchServiceException
 Stop an individual service. More...
 

Detailed Description

Administers a set of Service instances.

See also
Service

Operation Documentation

◆ addObserver()

void addObserver ( ServiceObserver observer)

Registers a new observer with the ServiceManager.

Parameters
observerThe new observer

◆ getSliceChecksums()

["nonmutating","cpp:const"]
idempotent Ice::SliceChecksumDict getSliceChecksums ( )

Returns the checksums for the IceBox Slice definitions.

Returns
A dictionary mapping Slice type ids to their checksums.

◆ shutdown()

void shutdown ( )

Shut down all services.

This causes stop to be invoked on all configured services.

◆ startService()

void startService ( string  service) throws AlreadyStartedException, NoSuchServiceException

Start an individual service.

Parameters
serviceThe service name.
Exceptions
AlreadyStartedExceptionIf the service is already running.
NoSuchServiceExceptionIf no service could be found with the given name.

◆ stopService()

void stopService ( string  service) throws AlreadyStoppedException, NoSuchServiceException

Stop an individual service.

Parameters
serviceThe service name.
Exceptions
AlreadyStoppedExceptionIf the service is already stopped.
NoSuchServiceExceptionIf no service could be found with the given name.

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