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

IceGrid._NodeObserverOperationsNC Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
// 
//
// Generated from file `Admin.ice'
//
// Warning: do not edit this file.
//
// 
//

package IceGrid;

/**
 * The node observer interface. Observers should implement this
 * interface to receive information about the state of the IceGrid
 * nodes.
 *
 **/
public interface _NodeObserverOperationsNC
{
    /**
     * The nodeInit operation indicates the current state
     * of nodes. It is called after the registration of an observer.
     *
     * @param nodes The current state of the nodes.
     *
     **/
    void nodeInit(NodeDynamicInfo[] nodes);

    /**
     * The nodeUp operation is called to notify an observer that a node
     * came up.
     *
     * @param node The node state.
     *
     **/
    void nodeUp(NodeDynamicInfo node);

    /**
     * The nodeDown operation is called to notify an observer that a node
     * went down.
     *
     * @param name The node name.
     *
     **/
    void nodeDown(String name);

    /**
     * The updateServer operation is called to notify an observer that
     * the state of a server changed.
     *
     * @param node The node hosting the server.
     *
     * @param updatedInfo The new server state.
     *
     **/
    void updateServer(String node, ServerDynamicInfo updatedInfo);

    /**
     * The updateAdapter operation is called to notify an observer that
     * the state of an adapter changed.
     *
     * @param node The node hosting the adapter.
     *
     * @param updatedInfo The new adapter state.
     *
     **/
    void updateAdapter(String node, AdapterDynamicInfo updatedInfo);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy