IceBox.Service Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icebox-compat Show documentation
Show all versions of icebox-compat Show documentation
IceBox is an easy-to-use framework for Ice application services
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `IceBox.ice'
//
// Warning: do not edit this file.
//
//
//
package IceBox;
/**
* An application service managed by a {@link ServiceManager}.
*
**/
public interface Service
{
/**
* Start the service. The given communicator is created by the
* {@link ServiceManager} for use by the service. This communicator may
* also be used by other services, depending on the service
* configuration.
*
* The {@link ServiceManager} owns this communicator, and is
* responsible for destroying it.
*
* @param name The service's name, as determined by the
* configuration.
*
* @param communicator A communicator for use by the service.
*
* @param args The service arguments that were not converted into
* properties.
*
* @throws FailureException Raised if {@link #start} failed.
*
**/
void start(String name, Ice.Communicator communicator, String[] args);
/**
* Stop the service.
*
**/
void stop();
public static final long serialVersionUID = -7506042424620814118L;
}