eu.xtreemos.xosd.services
Class SDaemon

java.lang.Object
  extended by eu.xtreemos.xosd.services.SDaemon

public class SDaemon
extends java.lang.Object


Field Summary
private  CommunicationAddress _accesspoint_remoteaddress
           
private  eu.xtreemos.system.eventmachine.queue.Context context
           
static java.lang.String servicename
          AUTOGENERATED CODE
 
Constructor Summary
SDaemon(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void finishKill(java.lang.Object __param)
           
 void finishKill(java.lang.Object __param, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void finishKill(java.lang.Object __param, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getDaemons()
          "global" method (i.e. gets invoked on the root address xosd)
 void getDaemons(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          "global" method (i.e. gets invoked on the root address xosd)
 void getDaemons(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          "global" method (i.e. gets invoked on the root address xosd)
 void getNodesRunningService(java.lang.String __serviceName)
           
 void getNodesRunningService(java.lang.String __serviceName, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getNodesRunningService(java.lang.String __serviceName, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getServiceList()
          Retrieve the list of names of the services currently running on this daemon.
 void getServiceList(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve the list of names of the services currently running on this daemon.
 void getServiceList(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve the list of names of the services currently running on this daemon.
 void kill()
           
 void kill(eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void kill(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void registerDaemon(CommunicationAddress __address)
          "global" method (i.e. gets invoked on the root address xosd)
 void registerDaemon(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          "global" method (i.e. gets invoked on the root address xosd)
 void registerDaemon(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          "global" method (i.e. gets invoked on the root address xosd)
 void registerDaemonCallback(java.lang.Object __arg)
           
 void registerDaemonCallback(java.lang.Object __arg, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void registerDaemonCallback(java.lang.Object __arg, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void registerMyServices()
          Send to the root the list of services running on this node.
 void registerMyServices(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Send to the root the list of services running on this node.
 void registerMyServices(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Send to the root the list of services running on this node.
 void registerServices(CommunicationAddress __address, java.util.ArrayList<java.lang.String> __activeServices)
          Register the list of services running within an xosd.
 void registerServices(CommunicationAddress __address, java.util.ArrayList<java.lang.String> __activeServices, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Register the list of services running within an xosd.
 void registerServices(CommunicationAddress __address, java.util.ArrayList<java.lang.String> __activeServices, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Register the list of services running within an xosd.
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 void unregisterDaemon(CommunicationAddress __address)
          "global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons.
 void unregisterDaemon(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          "global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons.
 void unregisterDaemon(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          "global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons.
 
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
AUTOGENERATED CODE


context

private eu.xtreemos.system.eventmachine.queue.Context context

_accesspoint_remoteaddress

private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail

SDaemon

public SDaemon(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

unregisterDaemon

public void unregisterDaemon(CommunicationAddress __address)
"global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons. Also removes all references to the services running at the daemon.

Parameters:
address - The address of the daemon to be unregistered.

unregisterDaemon

public void unregisterDaemon(CommunicationAddress __address,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback)
"global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons. Also removes all references to the services running at the daemon.

Parameters:
address - The address of the daemon to be unregistered.

unregisterDaemon

public void unregisterDaemon(CommunicationAddress __address,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback,
                             eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
"global" method (i.e. gets invoked on the root address xosd) Unregisters the xosd from the list of running daemons. Also removes all references to the services running at the daemon.

Parameters:
address - The address of the daemon to be unregistered.

registerDaemon

public void registerDaemon(CommunicationAddress __address)
"global" method (i.e. gets invoked on the root address xosd)

Parameters:
address -

registerDaemon

public void registerDaemon(CommunicationAddress __address,
                           eu.xtreemos.system.communication.bus.CallbackMessage callback)
"global" method (i.e. gets invoked on the root address xosd)

Parameters:
address -

registerDaemon

public void registerDaemon(CommunicationAddress __address,
                           eu.xtreemos.system.communication.bus.CallbackMessage callback,
                           eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
"global" method (i.e. gets invoked on the root address xosd)

Parameters:
address -

registerDaemonCallback

public void registerDaemonCallback(java.lang.Object __arg)

registerDaemonCallback

public void registerDaemonCallback(java.lang.Object __arg,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)

registerDaemonCallback

public void registerDaemonCallback(java.lang.Object __arg,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getDaemons

public void getDaemons()
"global" method (i.e. gets invoked on the root address xosd)


getDaemons

public void getDaemons(eu.xtreemos.system.communication.bus.CallbackMessage callback)
"global" method (i.e. gets invoked on the root address xosd)


getDaemons

public void getDaemons(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
"global" method (i.e. gets invoked on the root address xosd)


getServiceList

public void getServiceList()
Retrieve the list of names of the services currently running on this daemon.


getServiceList

public void getServiceList(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve the list of names of the services currently running on this daemon.


getServiceList

public void getServiceList(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                           eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve the list of names of the services currently running on this daemon.


registerMyServices

public void registerMyServices()
Send to the root the list of services running on this node.


registerMyServices

public void registerMyServices(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Send to the root the list of services running on this node.


registerMyServices

public void registerMyServices(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Send to the root the list of services running on this node.


registerServices

public void registerServices(CommunicationAddress __address,
                             java.util.ArrayList<java.lang.String> __activeServices)
Register the list of services running within an xosd. The method removes all current information on the given node's services, and then adds the ones listed in the parameter.

Parameters:
address - The address of the xosd registering the services.
activeServices - The list of strings identifying the running services.

registerServices

public void registerServices(CommunicationAddress __address,
                             java.util.ArrayList<java.lang.String> __activeServices,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback)
Register the list of services running within an xosd. The method removes all current information on the given node's services, and then adds the ones listed in the parameter.

Parameters:
address - The address of the xosd registering the services.
activeServices - The list of strings identifying the running services.

registerServices

public void registerServices(CommunicationAddress __address,
                             java.util.ArrayList<java.lang.String> __activeServices,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback,
                             eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Register the list of services running within an xosd. The method removes all current information on the given node's services, and then adds the ones listed in the parameter.

Parameters:
address - The address of the xosd registering the services.
activeServices - The list of strings identifying the running services.

getNodesRunningService

public void getNodesRunningService(java.lang.String __serviceName)

getNodesRunningService

public void getNodesRunningService(java.lang.String __serviceName,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)

getNodesRunningService

public void getNodesRunningService(java.lang.String __serviceName,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

kill

public void kill()

kill

public void kill(eu.xtreemos.system.communication.bus.CallbackMessage callback)

kill

public void kill(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

finishKill

public void finishKill(java.lang.Object __param)

finishKill

public void finishKill(java.lang.Object __param,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback)

finishKill

public void finishKill(java.lang.Object __param,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)