IceBox.ServiceManagerPrx 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) 2003-2018 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.7.1
//
//
//
// Generated from file `IceBox.ice'
//
// Warning: do not edit this file.
//
//
//
package IceBox;
/**
* Administers a set of {@link Service} instances.
*
* @see Service
*
**/
public interface ServiceManagerPrx extends Ice.ObjectPrx
{
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @return A dictionary mapping Slice type ids to their checksums.
*
**/
public java.util.Map getSliceChecksums();
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @return A dictionary mapping Slice type ids to their checksums.
*
**/
public java.util.Map getSliceChecksums(java.util.Map context);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums();
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(Ice.Callback cb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Ice.Callback cb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(Callback_ServiceManager_getSliceChecksums cb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context, Callback_ServiceManager_getSliceChecksums cb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_getSliceChecksums(java.util.Map context,
IceInternal.Functional_GenericCallback1> responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Returns the checksums for the IceBox Slice definitions.
*
* @param result The asynchronous result object.
* @return A dictionary mapping Slice type ids to their checksums.
*
**/
public java.util.Map end_getSliceChecksums(Ice.AsyncResult result);
/**
* Start an individual service.
*
* @param service The service name.
*
* @throws AlreadyStartedException If the service is already running.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
public void startService(String service)
throws AlreadyStartedException,
NoSuchServiceException;
/**
* Start an individual service.
*
* @param service The service name.
*
* @throws AlreadyStartedException If the service is already running.
* @throws NoSuchServiceException If no service could be found with the given name.
* @param context The Context map to send with the invocation.
**/
public void startService(String service, java.util.Map context)
throws AlreadyStartedException,
NoSuchServiceException;
/**
* Start an individual service.
*
* @param service The service name.
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service, java.util.Map context);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service, Ice.Callback cb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service, java.util.Map context, Ice.Callback cb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service, Callback_ServiceManager_startService cb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service, java.util.Map context, Callback_ServiceManager_startService cb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Start an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_startService(String service,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Start an individual service.
*
* @param result The asynchronous result object.
* @throws AlreadyStartedException If the service is already running.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
public void end_startService(Ice.AsyncResult result)
throws AlreadyStartedException,
NoSuchServiceException;
/**
* Stop an individual service.
*
* @param service The service name.
*
* @throws AlreadyStoppedException If the service is already stopped.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
public void stopService(String service)
throws AlreadyStoppedException,
NoSuchServiceException;
/**
* Stop an individual service.
*
* @param service The service name.
*
* @throws AlreadyStoppedException If the service is already stopped.
* @throws NoSuchServiceException If no service could be found with the given name.
* @param context The Context map to send with the invocation.
**/
public void stopService(String service, java.util.Map context)
throws AlreadyStoppedException,
NoSuchServiceException;
/**
* Stop an individual service.
*
* @param service The service name.
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service, java.util.Map context);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service, Ice.Callback cb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service, java.util.Map context, Ice.Callback cb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service, Callback_ServiceManager_stopService cb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service, java.util.Map context, Callback_ServiceManager_stopService cb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Stop an individual service.
*
* @param service The service name.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param userExceptionCb The lambda user exception callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_stopService(String service,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 userExceptionCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Stop an individual service.
*
* @param result The asynchronous result object.
* @throws AlreadyStoppedException If the service is already stopped.
* @throws NoSuchServiceException If no service could be found with the given name.
**/
public void end_stopService(Ice.AsyncResult result)
throws AlreadyStoppedException,
NoSuchServiceException;
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
**/
public void addObserver(ServiceObserverPrx observer);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
**/
public void addObserver(ServiceObserverPrx observer, java.util.Map context);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer, java.util.Map context);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer, Ice.Callback cb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer, java.util.Map context, Ice.Callback cb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer, Callback_ServiceManager_addObserver cb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer, java.util.Map context, Callback_ServiceManager_addObserver cb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Registers a new observer with the ServiceManager.
*
* @param observer The new observer
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_addObserver(ServiceObserverPrx observer,
java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Registers a new observer with the ServiceManager.
*
* @param result The asynchronous result object.
**/
public void end_addObserver(Ice.AsyncResult result);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
**/
public void shutdown();
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
**/
public void shutdown(java.util.Map context);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown();
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(java.util.Map context);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(Ice.Callback cb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(java.util.Map context, Ice.Callback cb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(Callback_ServiceManager_shutdown cb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
* @param cb The asynchronous callback object.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(java.util.Map context, Callback_ServiceManager_shutdown cb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param context The Context map to send with the invocation.
* @param responseCb The lambda response callback.
* @param exceptionCb The lambda exception callback.
* @param sentCb The lambda sent callback.
* @return The asynchronous result object.
**/
public Ice.AsyncResult begin_shutdown(java.util.Map context,
IceInternal.Functional_VoidCallback responseCb,
IceInternal.Functional_GenericCallback1 exceptionCb,
IceInternal.Functional_BoolCallback sentCb);
/**
* Shut down all services. This causes stop to be invoked on all configured services.
*
* @param result The asynchronous result object.
**/
public void end_shutdown(Ice.AsyncResult result);
}