eu.xtreemos.xati.API
Class XDaemon

java.lang.Object
  extended by eu.xtreemos.xati.API.XDaemon

public class XDaemon
extends java.lang.Object

Author:
gregor.pipan@xlab.si

Field Summary
static java.lang.String servicename
           
 
Constructor Summary
XDaemon()
           
 
Method Summary
static java.util.ArrayList<CommunicationAddress> getDaemons()
          "global" method (i.e. gets invoked on the root address xosd)
static java.util.ArrayList<CommunicationAddress> getNodesRunningService(java.lang.String __serviceName)
           
static java.util.ArrayList<java.lang.String> getServiceList()
          Retrieve the list of names of the services currently running on this daemon.
static java.lang.Integer kill()
           
static java.lang.Integer registerMyServices()
          Send to the root the list of services running on this node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servicename

public static java.lang.String servicename
Constructor Detail

XDaemon

public XDaemon()
Method Detail

getDaemons

public static java.util.ArrayList<CommunicationAddress> getDaemons()
                                                            throws java.lang.Exception
"global" method (i.e. gets invoked on the root address xosd)

Throws:
java.lang.Exception

getServiceList

public static java.util.ArrayList<java.lang.String> getServiceList()
                                                            throws java.lang.Exception
Retrieve the list of names of the services currently running on this daemon.

Returns:
The list of names of the currently running services.
Throws:
java.lang.Exception

registerMyServices

public static java.lang.Integer registerMyServices()
                                            throws java.lang.Exception
Send to the root the list of services running on this node.

Returns:
0 if call was successful.
Throws:
java.lang.Exception

getNodesRunningService

public static java.util.ArrayList<CommunicationAddress> getNodesRunningService(java.lang.String __serviceName)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

kill

public static java.lang.Integer kill()
                              throws java.lang.Exception
Throws:
java.lang.Exception