eu.xtreemos.xosd.services
Class SVivaldi

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

public class SVivaldi
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
SVivaldi(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void getCoordinates()
          Return local coordinates.
 void getCoordinates(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Return local coordinates.
 void getCoordinates(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Return local coordinates.
 void getRemoteCoordinates(CommunicationAddress __ca)
          AUTOGENERATED CODE
 void getRemoteCoordinates(CommunicationAddress __ca, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getRemoteCoordinates(CommunicationAddress __ca, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getVivaldiCoordinatesReply(VivaldiCoordinates __vc)
           
 void getVivaldiCoordinatesReply(VivaldiCoordinates __vc, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getVivaldiCoordinatesReply(VivaldiCoordinates __vc, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons)
           
 void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void initializeVivaldi()
          This is for initializing Vivaldi from XATI interface.
 void initializeVivaldi(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          This is for initializing Vivaldi from XATI interface.
 void initializeVivaldi(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          This is for initializing Vivaldi from XATI interface.
 void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons)
          When we get all daemons back.
 void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          When we get all daemons back.
 void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          When we get all daemons back.
 void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc)
          Handle callback from other vivaldi node
 void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Handle callback from other vivaldi node
 void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Handle callback from other vivaldi node
 void initializeVivaldiRemote(CommunicationAddress __remoteAddress)
          This is for calling initialize Vivaldi from service
 void initializeVivaldiRemote(CommunicationAddress __remoteAddress, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          This is for calling initialize Vivaldi from service
 void initializeVivaldiRemote(CommunicationAddress __remoteAddress, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          This is for calling initialize Vivaldi from service
 void initializeVivaldiRemoteHandler()
           
 void initializeVivaldiRemoteHandler(eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void initializeVivaldiRemoteHandler(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 
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

SVivaldi

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

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

getRemoteCoordinates

public void getRemoteCoordinates(CommunicationAddress __ca)
AUTOGENERATED CODE


getRemoteCoordinates

public void getRemoteCoordinates(CommunicationAddress __ca,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)

getRemoteCoordinates

public void getRemoteCoordinates(CommunicationAddress __ca,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getVivaldiCoordinatesReply

public void getVivaldiCoordinatesReply(VivaldiCoordinates __vc)

getVivaldiCoordinatesReply

public void getVivaldiCoordinatesReply(VivaldiCoordinates __vc,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback)

getVivaldiCoordinatesReply

public void getVivaldiCoordinatesReply(VivaldiCoordinates __vc,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getCoordinates

public void getCoordinates()
Return local coordinates. TODO : stupid conversion


getCoordinates

public void getCoordinates(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Return local coordinates. TODO : stupid conversion


getCoordinates

public void getCoordinates(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                           eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Return local coordinates. TODO : stupid conversion


initializeVivaldi

public void initializeVivaldi()
This is for initializing Vivaldi from XATI interface.


initializeVivaldi

public void initializeVivaldi(eu.xtreemos.system.communication.bus.CallbackMessage callback)
This is for initializing Vivaldi from XATI interface.


initializeVivaldi

public void initializeVivaldi(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This is for initializing Vivaldi from XATI interface.


initializeVivaldiGotDeamons

public void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons)
When we get all daemons back. For each address get RTT and recalculate Vivaldi cordinates.

Parameters:
alDaemons -

initializeVivaldiGotDeamons

public void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons,
                                        eu.xtreemos.system.communication.bus.CallbackMessage callback)
When we get all daemons back. For each address get RTT and recalculate Vivaldi cordinates.

Parameters:
alDaemons -

initializeVivaldiGotDeamons

public void initializeVivaldiGotDeamons(java.util.ArrayList<CommunicationAddress> __alDaemons,
                                        eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                        eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
When we get all daemons back. For each address get RTT and recalculate Vivaldi cordinates.

Parameters:
alDaemons -

initializeVivaldiRemote

public void initializeVivaldiRemote(CommunicationAddress __remoteAddress)
This is for calling initialize Vivaldi from service


initializeVivaldiRemote

public void initializeVivaldiRemote(CommunicationAddress __remoteAddress,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback)
This is for calling initialize Vivaldi from service


initializeVivaldiRemote

public void initializeVivaldiRemote(CommunicationAddress __remoteAddress,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                    eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This is for calling initialize Vivaldi from service


initializeVivaldiRemoteHandler

public void initializeVivaldiRemoteHandler()

initializeVivaldiRemoteHandler

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

initializeVivaldiRemoteHandler

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

initializeVivaldiGotDeamonsHandle

public void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc)
Handle callback from other vivaldi node

Parameters:
vc -

initializeVivaldiGotDeamonsHandle

public void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc,
                                              eu.xtreemos.system.communication.bus.CallbackMessage callback)
Handle callback from other vivaldi node

Parameters:
vc -

initializeVivaldiGotDeamonsHandle

public void initializeVivaldiGotDeamonsHandle(VivaldiCoordinates __vc,
                                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Handle callback from other vivaldi node

Parameters:
vc -

initHandler

public void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons)

initHandler

public void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons,
                        eu.xtreemos.system.communication.bus.CallbackMessage callback)

initHandler

public void initHandler(java.util.ArrayList<CommunicationAddress> __alDaemons,
                        eu.xtreemos.system.communication.bus.CallbackMessage callback,
                        eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)