Code Search for Developers
 
 
  

DiscoveryThreadMBean.java from GridBlocks at Krugle


Show DiscoveryThreadMBean.java syntax highlighted

/*
 * Copyright (c) 2005
 * Helsinki Institute of Physics
 * see LICENSE file for details
 *
 * DiscoveryThreadMBean.java
 * Created on Sep 26, 2005 
 */

package fi.hip.gb.net.discovery;

import java.net.URL;
import java.rmi.RemoteException;

/**
 * Management interface for Discovery service, prints out the 
 * current view of the servers/services and controls the discovery
 * functions.
 * 
 * @author Juho Karppinen
 */
public interface DiscoveryThreadMBean {

    /**
     * Gets all servers we are currently sending discovery info to.
     * @return html table of service URLs
     */
    public String printDiscoveryServers();

    /**
     * Gets the list of discovered servers.
     * @return html presentation of available servers 
     */
    public String printServers() throws RemoteException;

    /**
     * Gets the list of discovered services.
     * @return html presentation of available agent services
     */
    public String printAgents() throws RemoteException;
    
    /**
     * Adds a new server to the list of discovery servers.
     * @param serviceURL a service URL of the server to be added
     */
    public void addDiscoveryServers(URL serviceURL);

    /**
     * Removes a server from the list of discovery servers.
     * @param serviceURL a service URL of the server to be removed
     */
    public void removeDiscoveryServers(URL serviceURL);

    /**
     * Starting the discovery service.
     * @throws Exception
     */
    public void start() throws Exception;

    /**
     * Stop the discovery service
     */
    public void stop();

}



See more files for this project here

GridBlocks

GridBlocks builds a grid application framework via easy-to-use building blocks in distributed environment. The framework offers components for Grid security, distributed storage, computing, and Portlet web interfaces.

Project homepage: http://sourceforge.net/projects/gridblocks
Programming language(s): Java,JSP,XML
License: other

  AgentPacket.java
  DiscoveryPacket.java
  DiscoveryService.java
  DiscoveryThread.java
  DiscoveryThreadMBean.java
  JAXR.java