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

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

defined in <IceBox/IceBox.ice>

local interface Service { ... }

Operations

void start (string name, Ice::Communicator communicator, Ice::StringSeq args)
 Start the service. More...
 
void stop ()
 Stop the service. More...
 

Detailed Description

An application service managed by a ServiceManager.

Operation Documentation

◆ start()

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

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
FailureExceptionRaised if start failed.

◆ stop()

void stop ( )

Stop the service.


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