All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Ice._LocatorRegistryOperationsNC Maven / Gradle / Ivy

Go to download

Ice is a comprehensive RPC framework that helps you build distributed applications with minimal effort using familiar object-oriented idioms

The newest version!
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.10
//
// 
//
// Generated from file `Locator.ice'
//
// Warning: do not edit this file.
//
// 
//

package Ice;

/**
 * The Ice locator registry interface. This interface is used by
 * servers to register adapter endpoints with the locator.
 *
 * 

The {@link LocatorRegistry} interface is intended to be used * by Ice internals and by locator implementations. Regular user * code should not attempt to use any functionality of this interface * directly. * **/ public interface _LocatorRegistryOperationsNC { /** * Set the adapter endpoints with the locator registry. * * @param cb The callback object for the operation. * @param id The adapter id. * * @param proxy The adapter proxy (a dummy direct proxy created * by the adapter). The direct proxy contains the adapter * endpoints. * * @throws AdapterNotFoundException Raised if the adapter cannot * be found, or if the locator only allows * registered adapters to set their active proxy and the * adapter is not registered with the locator. * * @throws AdapterAlreadyActiveException Raised if an adapter with the same * id is already active. * **/ void setAdapterDirectProxy_async(AMD_LocatorRegistry_setAdapterDirectProxy cb, String id, Ice.ObjectPrx proxy) throws AdapterAlreadyActiveException, AdapterNotFoundException; /** * Set the adapter endpoints with the locator registry. * * @param cb The callback object for the operation. * @param adapterId The adapter id. * * @param replicaGroupId The replica group id. * * @param p The adapter proxy (a dummy direct proxy created * by the adapter). The direct proxy contains the adapter * endpoints. * * @throws AdapterNotFoundException Raised if the adapter cannot * be found, or if the locator only allows registered adapters to * set their active proxy and the adapter is not registered with * the locator. * * @throws AdapterAlreadyActiveException Raised if an adapter with the same * id is already active. * * @throws InvalidReplicaGroupIdException Raised if the given * replica group doesn't match the one registered with the * locator registry for this object adapter. * **/ void setReplicatedAdapterDirectProxy_async(AMD_LocatorRegistry_setReplicatedAdapterDirectProxy cb, String adapterId, String replicaGroupId, Ice.ObjectPrx p) throws AdapterAlreadyActiveException, AdapterNotFoundException, InvalidReplicaGroupIdException; /** * Set the process proxy for a server. * * @param cb The callback object for the operation. * @param id The server id. * * @param proxy The process proxy. * * @throws ServerNotFoundException Raised if the server cannot * be found. * **/ void setServerProcessProxy_async(AMD_LocatorRegistry_setServerProcessProxy cb, String id, ProcessPrx proxy) throws ServerNotFoundException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy