eu.xtreemos.xati.API
Class XDaemon
java.lang.Object
eu.xtreemos.xati.API.XDaemon
public class XDaemon
- extends java.lang.Object
- Author:
- gregor.pipan@xlab.si
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servicename
public static java.lang.String servicename
XDaemon
public XDaemon()
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