Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.


IceBox::ServiceManager

Overview

interface ServiceManager

Administers a set of IceBox::Service instances.

See Also

Operation Index

getSliceChecksums — Returns the checksums for the IceBox Slice definitions.
startService — Start an individual service.
stopService — Stop an individual service.
addObserver — Registers a new observer with the ServiceManager.
shutdown — Shut down all services.

Operations

Ice::SliceChecksumDict getSliceChecksums()

Returns the checksums for the IceBox Slice definitions.

Return Value

A dictionary mapping Slice type ids to their checksums.

void startService(string service) throws IceBox::AlreadyStartedException, IceBox::NoSuchServiceException

Start an individual service.

Parameters

service — The service name.

void stopService(string service) throws IceBox::AlreadyStoppedException, IceBox::NoSuchServiceException

Stop an individual service.

Parameters

service — The service name.

void addObserver(IceBox::ServiceObserver* observer)

Registers a new observer with the ServiceManager.

Parameters

observer — The new observer

void shutdown()

Shut down all services. This causes IceBox::Service::stop to be invoked on all configured services.


  • No labels