eu.xtreemos.xosd.services
Class SResMng

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

public class SResMng
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
SResMng(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void addJobMetric(java.lang.String __jobId, eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric)
           
 void addJobMetric(java.lang.String __jobId, eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void addJobMetric(java.lang.String __jobId, eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable)
           
 void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void createRequestAnswer(java.util.ArrayList<CommunicationAddress> __alRes)
           
 void createRequestAnswer(java.util.ArrayList<CommunicationAddress> __alRes, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void createRequestAnswer(java.util.ArrayList<CommunicationAddress> __alRes, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void failureCallback(java.lang.Exception __ex)
           
 void failureCallback(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void failureCallback(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getDaemonsReplyAndProcess(java.util.ArrayList __list)
          Dorothy, you're not in Kansas anymore... but in a Callback!
 void getDaemonsReplyAndProcess(java.util.ArrayList __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Dorothy, you're not in Kansas anymore... but in a Callback!
 void getDaemonsReplyAndProcess(java.util.ArrayList __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Dorothy, you're not in Kansas anymore... but in a Callback!
 void getJobInfo(java.lang.String __jobId, java.lang.Integer __flags, java.lang.Integer __infoLevel, java.util.ArrayList<java.lang.String> __metricsList, java.lang.String __user)
           
 void getJobInfo(java.lang.String __jobId, java.lang.Integer __flags, java.lang.Integer __infoLevel, java.util.ArrayList<java.lang.String> __metricsList, java.lang.String __user, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getJobInfo(java.lang.String __jobId, java.lang.Integer __flags, java.lang.Integer __infoLevel, java.util.ArrayList<java.lang.String> __metricsList, java.lang.String __user, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getNodeResourceDescriptor(CommunicationAddress __address)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getNodeResourceDescriptor(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getNodeResourceDescriptor(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getNodeResourceGLUE(CommunicationAddress __address)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getNodeResourceGLUE(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getNodeResourceGLUE(CommunicationAddress __address, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          A proxy call to ResourceMonitor.query of a service running at particular node.
 void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue)
          The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.
 void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.
 void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.
 void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue)
          The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.
 void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.
 void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.
 void getResInfo(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx)
          Returns the monitoring information associated with the resource.
 void getResInfo(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Returns the monitoring information associated with the resource.
 void getResInfo(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Returns the monitoring information associated with the resource.
 void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list)
           
 void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResMetrics(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx)
          Returns the list of metrics available on that resource.
 void getResMetrics(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Returns the list of metrics available on that resource.
 void getResMetrics(CommunicationAddress __resource, java.security.cert.X509Certificate __userCtx, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Returns the list of metrics available on that resource.
 void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics)
           
 void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources)
          Retrieve the resource descriptors of the nodes from the given list.
 void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve the resource descriptors of the nodes from the given list.
 void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve the resource descriptors of the nodes from the given list.
 void getResourceDescriptorsFailure(java.lang.Exception __ex)
           
 void getResourceDescriptorsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourceDescriptorsFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result)
           
 void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourceMonitorReply(java.util.Hashtable __glue)
          continuing the processing after ResourceMonitor call, to the Wicked Witch of the West.
 void getResourceMonitorReply(java.util.Hashtable __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          continuing the processing after ResourceMonitor call, to the Wicked Witch of the West.
 void getResourceMonitorReply(java.util.Hashtable __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          continuing the processing after ResourceMonitor call, to the Wicked Witch of the West.
 void getResourceMonitorReplyFailure(java.lang.Exception __ex)
           
 void getResourceMonitorReplyFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourceMonitorReplyFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResources(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany)
          Retrieve a collection of resources that match the job's resource demands.
 void getResources(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResources(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesADS(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany)
           
 void getResourcesADS(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourcesADS(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection)
          The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.
 void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.
 void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.
 void getResourcesCentral(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesCentral(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesCentral(java.lang.String __query, java.security.cert.X509Certificate __userCtx, java.lang.Integer __howMany, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromParsedCommand(ParsedCommand __command)
           
 void getResourcesFromParsedCommand(ParsedCommand __command, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourcesFromParsedCommand(ParsedCommand __command, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourcesFromPath(java.lang.String __queryFileName)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromPath(java.lang.String __queryFileName, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromPath(java.lang.String __queryFileName, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromString(java.lang.String __query)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromString(java.lang.String __query, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromString(java.lang.String __query, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesScored(java.lang.String __query)
           
 void getResourcesScored(java.lang.String __query, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourcesScored(java.lang.String __query, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourcesScoredWeighted(java.lang.String __query, java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights)
           
 void getResourcesScoredWeighted(java.lang.String __query, java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void getResourcesScoredWeighted(java.lang.String __query, java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void getResourcesSorted(java.lang.String __query, ResourceDescriptorComparatorSerializable __comparator)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesSorted(java.lang.String __query, ResourceDescriptorComparatorSerializable __comparator, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Retrieve a collection of resources that match the job's resource demands.
 void getResourcesSorted(java.lang.String __query, ResourceDescriptorComparatorSerializable __comparator, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Retrieve a collection of resources that match the job's resource demands.
 void getXMLExtractorReply(java.util.Hashtable __list)
          The callback with the final piece of processing of the #getResources(String) service call.
 void getXMLExtractorReply(java.util.Hashtable __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          The callback with the final piece of processing of the #getResources(String) service call.
 void getXMLExtractorReply(java.util.Hashtable __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          The callback with the final piece of processing of the #getResources(String) service call.
 void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList)
           
 void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list)
          Call to VOPS service.
 void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Call to VOPS service.
 void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Call to VOPS service.
 void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate)
           
 void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err)
          Catches failures of CDAMng.getResourceCertificate call.
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Catches failures of CDAMng.getResourceCertificate call.
 void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Catches failures of CDAMng.getResourceCertificate call.
 void removeBuffers(java.lang.String __jobId)
          It's called from jobMng when cleaning.
 void removeBuffers(java.lang.String __jobId, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          It's called from jobMng when cleaning.
 void removeBuffers(java.lang.String __jobId, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          It's called from jobMng when cleaning.
 void removeJobMetric(java.lang.String __jobId, java.lang.String __metricName)
           
 void removeJobMetric(java.lang.String __jobId, java.lang.String __metricName, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void removeJobMetric(java.lang.String __jobId, java.lang.String __metricName, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void removeMetrics(java.lang.String __jobId)
          Should be called after jobUnit dies, but resmng doesn't notice it.
 void removeMetrics(java.lang.String __jobId, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Should be called after jobUnit dies, but resmng doesn't notice it.
 void removeMetrics(java.lang.String __jobId, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Should be called after jobUnit dies, but resmng doesn't notice it.
 void setMetricValue(java.lang.String __jobId, java.lang.String __metricName, java.lang.String __value)
           
 void setMetricValue(java.lang.String __jobId, java.lang.String __metricName, java.lang.String __value, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void setMetricValue(java.lang.String __jobId, java.lang.String __metricName, java.lang.String __value, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void setMonitoringBuffering(java.lang.String __jobId, java.lang.String __metricName, java.lang.Boolean __enable, java.lang.String __user)
           
 void setMonitoringBuffering(java.lang.String __jobId, java.lang.String __metricName, java.lang.Boolean __enable, java.lang.String __user, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void setMonitoringBuffering(java.lang.String __jobId, java.lang.String __metricName, java.lang.Boolean __enable, java.lang.String __user, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 void testCall()
          A function for testing stuff.
 void testCall(eu.xtreemos.system.communication.bus.CallbackMessage callback)
          A function for testing stuff.
 void testCall(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          A function for testing stuff.
 void testCallCallback1(java.util.Hashtable __jsdl)
           
 void testCallCallback1(java.util.Hashtable __jsdl, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void testCallCallback1(java.util.Hashtable __jsdl, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void testCallCallback2(java.util.Hashtable __glue)
           
 void testCallCallback2(java.util.Hashtable __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void testCallCallback2(java.util.Hashtable __glue, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching)
           
 void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void verifyPolicyCertResHandler(ResourceMatching __rmList)
          Reads VOPS' public key and checks if rmList has been written with VOPS' private key.
 void verifyPolicyCertResHandler(ResourceMatching __rmList, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Reads VOPS' public key and checks if rmList has been written with VOPS' private key.
 void verifyPolicyCertResHandler(ResourceMatching __rmList, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Reads VOPS' public key and checks if rmList has been written with VOPS' private key.
 void VerifyPolicyForResInfo(ResourceMatching __resmatching)
           
 void VerifyPolicyForResInfo(ResourceMatching __resmatching, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void VerifyPolicyForResInfo(ResourceMatching __resmatching, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 void VerifyPolicyForResMetrics(ResourceMatching __resmatching)
           
 void VerifyPolicyForResMetrics(ResourceMatching __resmatching, eu.xtreemos.system.communication.bus.CallbackMessage callback)
           
 void VerifyPolicyForResMetrics(ResourceMatching __resmatching, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
           
 
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

SResMng

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

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

getResources

public void getResources(java.lang.String __query,
                         java.security.cert.X509Certificate __userCtx,
                         java.lang.Integer __howMany)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

getResources

public void getResources(java.lang.String __query,
                         java.security.cert.X509Certificate __userCtx,
                         java.lang.Integer __howMany,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

getResources

public void getResources(java.lang.String __query,
                         java.security.cert.X509Certificate __userCtx,
                         java.lang.Integer __howMany,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

inheritMetricsCB

public void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList)

inheritMetricsCB

public void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback)

inheritMetricsCB

public void inheritMetricsCB(java.util.ArrayList<eu.xtreemos.xosd.utilities.metrics.MetricsDesc> __metricsList,
                             eu.xtreemos.system.communication.bus.CallbackMessage callback,
                             eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

addJobMetric

public void addJobMetric(java.lang.String __jobId,
                         eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric)

addJobMetric

public void addJobMetric(java.lang.String __jobId,
                         eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)

addJobMetric

public void addJobMetric(java.lang.String __jobId,
                         eu.xtreemos.xosd.utilities.metrics.MetricsDesc __metric,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

removeJobMetric

public void removeJobMetric(java.lang.String __jobId,
                            java.lang.String __metricName)
Parameters:
jobId -
metricName -

removeJobMetric

public void removeJobMetric(java.lang.String __jobId,
                            java.lang.String __metricName,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
jobId -
metricName -

removeJobMetric

public void removeJobMetric(java.lang.String __jobId,
                            java.lang.String __metricName,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
jobId -
metricName -

removeBuffers

public void removeBuffers(java.lang.String __jobId)
It's called from jobMng when cleaning.

Parameters:
jobId -

removeBuffers

public void removeBuffers(java.lang.String __jobId,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback)
It's called from jobMng when cleaning.

Parameters:
jobId -

removeBuffers

public void removeBuffers(java.lang.String __jobId,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
It's called from jobMng when cleaning.

Parameters:
jobId -

setMetricValue

public void setMetricValue(java.lang.String __jobId,
                           java.lang.String __metricName,
                           java.lang.String __value)
Parameters:
jobId -
metricName -
value -

setMetricValue

public void setMetricValue(java.lang.String __jobId,
                           java.lang.String __metricName,
                           java.lang.String __value,
                           eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
jobId -
metricName -
value -

setMetricValue

public void setMetricValue(java.lang.String __jobId,
                           java.lang.String __metricName,
                           java.lang.String __value,
                           eu.xtreemos.system.communication.bus.CallbackMessage callback,
                           eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
jobId -
metricName -
value -

setMonitoringBuffering

public void setMonitoringBuffering(java.lang.String __jobId,
                                   java.lang.String __metricName,
                                   java.lang.Boolean __enable,
                                   java.lang.String __user)
Parameters:
jobId -
metricName -
enable -
user -

setMonitoringBuffering

public void setMonitoringBuffering(java.lang.String __jobId,
                                   java.lang.String __metricName,
                                   java.lang.Boolean __enable,
                                   java.lang.String __user,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
jobId -
metricName -
enable -
user -

setMonitoringBuffering

public void setMonitoringBuffering(java.lang.String __jobId,
                                   java.lang.String __metricName,
                                   java.lang.Boolean __enable,
                                   java.lang.String __user,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
jobId -
metricName -
enable -
user -

getJobInfo

public void getJobInfo(java.lang.String __jobId,
                       java.lang.Integer __flags,
                       java.lang.Integer __infoLevel,
                       java.util.ArrayList<java.lang.String> __metricsList,
                       java.lang.String __user)

getJobInfo

public void getJobInfo(java.lang.String __jobId,
                       java.lang.Integer __flags,
                       java.lang.Integer __infoLevel,
                       java.util.ArrayList<java.lang.String> __metricsList,
                       java.lang.String __user,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback)

getJobInfo

public void getJobInfo(java.lang.String __jobId,
                       java.lang.Integer __flags,
                       java.lang.Integer __infoLevel,
                       java.util.ArrayList<java.lang.String> __metricsList,
                       java.lang.String __user,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

removeMetrics

public void removeMetrics(java.lang.String __jobId)
Should be called after jobUnit dies, but resmng doesn't notice it. So, not used (yet).

Parameters:
jobId -

removeMetrics

public void removeMetrics(java.lang.String __jobId,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback)
Should be called after jobUnit dies, but resmng doesn't notice it. So, not used (yet).

Parameters:
jobId -

removeMetrics

public void removeMetrics(java.lang.String __jobId,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Should be called after jobUnit dies, but resmng doesn't notice it. So, not used (yet).

Parameters:
jobId -

getResourceDescriptors

public void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources)
Retrieve the resource descriptors of the nodes from the given list. It asynchronously calls each node's resource monitor and queries its resource info. Once all the responses are accounted for, it returns the result.

Parameters:
resources - The list of communication addresses of the resources that we would like to learn the resource properties of.

getResourceDescriptors

public void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve the resource descriptors of the nodes from the given list. It asynchronously calls each node's resource monitor and queries its resource info. Once all the responses are accounted for, it returns the result.

Parameters:
resources - The list of communication addresses of the resources that we would like to learn the resource properties of.

getResourceDescriptors

public void getResourceDescriptors(java.util.ArrayList<CommunicationAddress> __resources,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve the resource descriptors of the nodes from the given list. It asynchronously calls each node's resource monitor and queries its resource info. Once all the responses are accounted for, it returns the result.

Parameters:
resources - The list of communication addresses of the resources that we would like to learn the resource properties of.

getResourceDescriptorsSuccess

public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result)

getResourceDescriptorsSuccess

public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResourceDescriptorsSuccess

public void getResourceDescriptorsSuccess(java.util.ArrayList<ResourceDescriptorRecord> __result,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResourceDescriptorsFailure

public void getResourceDescriptorsFailure(java.lang.Exception __ex)

getResourceDescriptorsFailure

public void getResourceDescriptorsFailure(java.lang.Exception __ex,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResourceDescriptorsFailure

public void getResourceDescriptorsFailure(java.lang.Exception __ex,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

policyEnforceRequest

public void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list)
Call to VOPS service. Call this method to filter selected resources with enforcing policies, residing at VOPS' home.


policyEnforceRequest

public void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)
Call to VOPS service. Call this method to filter selected resources with enforcing policies, residing at VOPS' home.


policyEnforceRequest

public void policyEnforceRequest(java.util.ArrayList<CommunicationAddress> __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Call to VOPS service. Call this method to filter selected resources with enforcing policies, residing at VOPS' home.


policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate)

policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)

policyEnforceRequestCertificateCatcher

public void policyEnforceRequestCertificateCatcher(java.security.cert.X509Certificate __certificate,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage callback)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

policyEnforceRequestCertificateCatcherFailure

public void policyEnforceRequestCertificateCatcherFailure(java.lang.Exception __err,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Catches failures of CDAMng.getResourceCertificate call.

Parameters:
err -

verifyPolicyCertResHandler

public void verifyPolicyCertResHandler(ResourceMatching __rmList)
Reads VOPS' public key and checks if rmList has been written with VOPS' private key.

Parameters:
rmList - Signed list of resources

verifyPolicyCertResHandler

public void verifyPolicyCertResHandler(ResourceMatching __rmList,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
Reads VOPS' public key and checks if rmList has been written with VOPS' private key.

Parameters:
rmList - Signed list of resources

verifyPolicyCertResHandler

public void verifyPolicyCertResHandler(ResourceMatching __rmList,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Reads VOPS' public key and checks if rmList has been written with VOPS' private key.

Parameters:
rmList - Signed list of resources

createRequest

public void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable)

createRequest

public void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback)

createRequest

public void createRequest(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdlTable,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

createRequestAnswer

public void createRequestAnswer(java.util.ArrayList<CommunicationAddress> __alRes)

createRequestAnswer

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

createRequestAnswer

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

getDaemonsReplyAndProcess

public void getDaemonsReplyAndProcess(java.util.ArrayList __list)
Dorothy, you're not in Kansas anymore... but in a Callback! Generally this is where the processing continues from getResources(String).

Parameters:
list - List of available hosts

getDaemonsReplyAndProcess

public void getDaemonsReplyAndProcess(java.util.ArrayList __list,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
Dorothy, you're not in Kansas anymore... but in a Callback! Generally this is where the processing continues from getResources(String).

Parameters:
list - List of available hosts

getDaemonsReplyAndProcess

public void getDaemonsReplyAndProcess(java.util.ArrayList __list,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Dorothy, you're not in Kansas anymore... but in a Callback! Generally this is where the processing continues from getResources(String).

Parameters:
list - List of available hosts

getResourceMonitorReplyFailure

public void getResourceMonitorReplyFailure(java.lang.Exception __ex)
Parameters:
ex -

getResourceMonitorReplyFailure

public void getResourceMonitorReplyFailure(java.lang.Exception __ex,
                                           eu.xtreemos.system.communication.bus.CallbackMessage callback)
Parameters:
ex -

getResourceMonitorReplyFailure

public void getResourceMonitorReplyFailure(java.lang.Exception __ex,
                                           eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                           eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Parameters:
ex -

getResourceMonitorReply

public void getResourceMonitorReply(java.util.Hashtable __glue)
continuing the processing after ResourceMonitor call, to the Wicked Witch of the West. Flying monkeys will pick up the resource descriptor callbacks and bring them to you.

Parameters:
glue -

getResourceMonitorReply

public void getResourceMonitorReply(java.util.Hashtable __glue,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback)
continuing the processing after ResourceMonitor call, to the Wicked Witch of the West. Flying monkeys will pick up the resource descriptor callbacks and bring them to you.

Parameters:
glue -

getResourceMonitorReply

public void getResourceMonitorReply(java.util.Hashtable __glue,
                                    eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                    eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
continuing the processing after ResourceMonitor call, to the Wicked Witch of the West. Flying monkeys will pick up the resource descriptor callbacks and bring them to you.

Parameters:
glue -

getXMLExtractorReply

public void getXMLExtractorReply(java.util.Hashtable __list)
The callback with the final piece of processing of the #getResources(String) service call. The method getResourceMonitorReply(Hashtable) registers this callback.

Parameters:
list - The structure representing the JSDL input, the result of the call to the XMLExtractor service.

getXMLExtractorReply

public void getXMLExtractorReply(java.util.Hashtable __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)
The callback with the final piece of processing of the #getResources(String) service call. The method getResourceMonitorReply(Hashtable) registers this callback.

Parameters:
list - The structure representing the JSDL input, the result of the call to the XMLExtractor service.

getXMLExtractorReply

public void getXMLExtractorReply(java.util.Hashtable __list,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The callback with the final piece of processing of the #getResources(String) service call. The method getResourceMonitorReply(Hashtable) registers this callback.

Parameters:
list - The structure representing the JSDL input, the result of the call to the XMLExtractor service.

getResourcesADSSucceeded

public void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection)
The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.

Parameters:
selection - The result obtained from the ADS, filtered by the resource requirements in the JSDL.

getResourcesADSSucceeded

public void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback)
The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.

Parameters:
selection - The result obtained from the ADS, filtered by the resource requirements in the JSDL.

getResourcesADSSucceeded

public void getResourcesADSSucceeded(java.util.ArrayList<CommunicationAddress> __selection,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                     eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The SRDSMng retuns here after the call to getResources[ADS] to provide its selection based on the JSDL.

Parameters:
selection - The result obtained from the ADS, filtered by the resource requirements in the JSDL.

VerifyPolicyAEMSuccess

public void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching)

VerifyPolicyAEMSuccess

public void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)

VerifyPolicyAEMSuccess

public void VerifyPolicyAEMSuccess(ResourceMatching __verifiedMatching,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResourcesFromPath

public void getResourcesFromPath(java.lang.String __queryFileName)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document stored in a file.

Parameters:
queryFileName - The filename of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesFromPath

public void getResourcesFromPath(java.lang.String __queryFileName,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document stored in a file.

Parameters:
queryFileName - The filename of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesFromPath

public void getResourcesFromPath(java.lang.String __queryFileName,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document stored in a file.

Parameters:
queryFileName - The filename of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesADS

public void getResourcesADS(java.lang.String __query,
                            java.security.cert.X509Certificate __userCtx,
                            java.lang.Integer __howMany)

getResourcesADS

public void getResourcesADS(java.lang.String __query,
                            java.security.cert.X509Certificate __userCtx,
                            java.lang.Integer __howMany,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResourcesADS

public void getResourcesADS(java.lang.String __query,
                            java.security.cert.X509Certificate __userCtx,
                            java.lang.Integer __howMany,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResourcesCentral

public void getResourcesCentral(java.lang.String __query,
                                java.security.cert.X509Certificate __userCtx,
                                java.lang.Integer __howMany)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

getResourcesCentral

public void getResourcesCentral(java.lang.String __query,
                                java.security.cert.X509Certificate __userCtx,
                                java.lang.Integer __howMany,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

getResourcesCentral

public void getResourcesCentral(java.lang.String __query,
                                java.security.cert.X509Certificate __userCtx,
                                java.lang.Integer __howMany,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
userCtx - The certificate signifying the user on whose behalf the call is doing the query.
howMany - A hint, specifying how many retrieved resources we would like to have.

getResourcesFromString

public void getResourcesFromString(java.lang.String __query)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesFromString

public void getResourcesFromString(java.lang.String __query,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesFromString

public void getResourcesFromString(java.lang.String __query,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.

getResourcesFromStructure

public void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a structure containing a parsed and searchable JSDL document.

Parameters:
jsdl - The structure containing the parsed and searchable contents of the XML file with JSDL query.

getResourcesFromStructure

public void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a structure containing a parsed and searchable JSDL document.

Parameters:
jsdl - The structure containing the parsed and searchable contents of the XML file with JSDL query.

getResourcesFromStructure

public void getResourcesFromStructure(java.util.Hashtable<java.lang.String,java.lang.Object> __jsdl,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a structure containing a parsed and searchable JSDL document.

Parameters:
jsdl - The structure containing the parsed and searchable contents of the XML file with JSDL query.

getResourcesSorted

public void getResourcesSorted(java.lang.String __query,
                               ResourceDescriptorComparatorSerializable __comparator)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string. The resulting nodes will be sorted according to the attribute ordering.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
comparator - The comparator to use when sorting the records.

getResourcesSorted

public void getResourcesSorted(java.lang.String __query,
                               ResourceDescriptorComparatorSerializable __comparator,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string. The resulting nodes will be sorted according to the attribute ordering.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
comparator - The comparator to use when sorting the records.

getResourcesSorted

public void getResourcesSorted(java.lang.String __query,
                               ResourceDescriptorComparatorSerializable __comparator,
                               eu.xtreemos.system.communication.bus.CallbackMessage callback,
                               eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve a collection of resources that match the job's resource demands. The resource query is expressed in a JSDL document with its contents in a string. The resulting nodes will be sorted according to the attribute ordering.

Parameters:
query - The contents of the XML file with JSDL query containing the resource query as a part of a job description.
comparator - The comparator to use when sorting the records.

getResourcesScored

public void getResourcesScored(java.lang.String __query)

getResourcesScored

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

getResourcesScored

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

getResourcesScoredWeighted

public void getResourcesScoredWeighted(java.lang.String __query,
                                       java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights)

getResourcesScoredWeighted

public void getResourcesScoredWeighted(java.lang.String __query,
                                       java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResourcesScoredWeighted

public void getResourcesScoredWeighted(java.lang.String __query,
                                       java.util.Hashtable<java.lang.Integer,java.lang.Double> __weights,
                                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getNodeResourceGLUE

public void getNodeResourceGLUE(CommunicationAddress __address)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getNodeResourceGLUE

public void getNodeResourceGLUE(CommunicationAddress __address,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getNodeResourceGLUE

public void getNodeResourceGLUE(CommunicationAddress __address,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getProxyResMonReply

public void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue)
The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

getProxyResMonReply

public void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback)
The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

getProxyResMonReply

public void getProxyResMonReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue,
                                eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The callback that concludes the call to getNodeResourceGLUE(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

getNodeResourceDescriptor

public void getNodeResourceDescriptor(CommunicationAddress __address)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getNodeResourceDescriptor

public void getNodeResourceDescriptor(CommunicationAddress __address,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getNodeResourceDescriptor

public void getNodeResourceDescriptor(CommunicationAddress __address,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A proxy call to ResourceMonitor.query of a service running at particular node.

Parameters:
address - The node we request the resource details of the ResourceMonitor service from.

getProxyResMonDescrReply

public void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue)
The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

getProxyResMonDescrReply

public void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback)
The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

getProxyResMonDescrReply

public void getProxyResMonDescrReply(java.util.Hashtable<java.lang.String,java.lang.Object> __glue,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                     eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The callback that concludes the call to getNodeResourceDescriptor(CommunicationAddress) and passes the returns the value.

Parameters:
glue - The value passed by the ResourceMonitor.

failureCallback

public void failureCallback(java.lang.Exception __ex)

failureCallback

public void failureCallback(java.lang.Exception __ex,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback)

failureCallback

public void failureCallback(java.lang.Exception __ex,
                            eu.xtreemos.system.communication.bus.CallbackMessage callback,
                            eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

testCall

public void testCall()
A function for testing stuff.


testCall

public void testCall(eu.xtreemos.system.communication.bus.CallbackMessage callback)
A function for testing stuff.


testCall

public void testCall(eu.xtreemos.system.communication.bus.CallbackMessage callback,
                     eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A function for testing stuff.


testCallCallback1

public void testCallCallback1(java.util.Hashtable __jsdl)

testCallCallback1

public void testCallCallback1(java.util.Hashtable __jsdl,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)

testCallCallback1

public void testCallCallback1(java.util.Hashtable __jsdl,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

testCallCallback2

public void testCallCallback2(java.util.Hashtable __glue)

testCallCallback2

public void testCallCallback2(java.util.Hashtable __glue,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)

testCallCallback2

public void testCallCallback2(java.util.Hashtable __glue,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResourcesFromParsedCommand

public void getResourcesFromParsedCommand(ParsedCommand __command)

getResourcesFromParsedCommand

public void getResourcesFromParsedCommand(ParsedCommand __command,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResourcesFromParsedCommand

public void getResourcesFromParsedCommand(ParsedCommand __command,
                                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResInfo

public void getResInfo(CommunicationAddress __resource,
                       java.security.cert.X509Certificate __userCtx)
Returns the monitoring information associated with the resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

getResInfo

public void getResInfo(CommunicationAddress __resource,
                       java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns the monitoring information associated with the resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

getResInfo

public void getResInfo(CommunicationAddress __resource,
                       java.security.cert.X509Certificate __userCtx,
                       eu.xtreemos.system.communication.bus.CallbackMessage callback,
                       eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns the monitoring information associated with the resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

VerifyPolicyForResInfo

public void VerifyPolicyForResInfo(ResourceMatching __resmatching)

VerifyPolicyForResInfo

public void VerifyPolicyForResInfo(ResourceMatching __resmatching,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)

VerifyPolicyForResInfo

public void VerifyPolicyForResInfo(ResourceMatching __resmatching,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResInfoSuccess

public void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list)

getResInfoSuccess

public void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResInfoSuccess

public void getResInfoSuccess(java.util.Hashtable<java.lang.String,java.lang.String> __list,
                              eu.xtreemos.system.communication.bus.CallbackMessage callback,
                              eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResMetrics

public void getResMetrics(CommunicationAddress __resource,
                          java.security.cert.X509Certificate __userCtx)
Returns the list of metrics available on that resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

getResMetrics

public void getResMetrics(CommunicationAddress __resource,
                          java.security.cert.X509Certificate __userCtx,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback)
Returns the list of metrics available on that resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

getResMetrics

public void getResMetrics(CommunicationAddress __resource,
                          java.security.cert.X509Certificate __userCtx,
                          eu.xtreemos.system.communication.bus.CallbackMessage callback,
                          eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Returns the list of metrics available on that resource. Only the users authorised for access to the resource can obtain the information.

Parameters:
resource - The resource we are querying the information on.
userCtx - The user that queries the information

VerifyPolicyForResMetrics

public void VerifyPolicyForResMetrics(ResourceMatching __resmatching)

VerifyPolicyForResMetrics

public void VerifyPolicyForResMetrics(ResourceMatching __resmatching,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback)

VerifyPolicyForResMetrics

public void VerifyPolicyForResMetrics(ResourceMatching __resmatching,
                                      eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                      eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)

getResMetricsSuccess

public void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics)

getResMetricsSuccess

public void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback)

getResMetricsSuccess

public void getResMetricsSuccess(java.util.ArrayList<java.lang.String> __metrics,
                                 eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                 eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)