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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


IceBox::Service

Overview

local interface Service

An application service managed by a IceBox::ServiceManager.

Operation Index

start — Start the service.
stop — Stop the service.

Operations

void start(string name, Ice::Communicator communicator, Ice::StringSeq args)

Start the service. The given communicator is created by the IceBox::ServiceManager for use by the service. This communicator may also be used by other services, depending on the service configuration.

The IceBox::ServiceManager owns this communicator, and is responsible for destroying it.

Parameters

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.

Exceptions

IceBox::FailureException — Raised if start failed.

void stop()

Stop the service.


  • No labels