|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.services.SRCAClient
public class SRCAClient
Field Summary | |
---|---|
private CommunicationAddress |
_accesspoint_remoteaddress
|
private eu.xtreemos.system.eventmachine.queue.Context |
context
|
static java.lang.String |
servicename
AUTOGENERATED CODE |
Constructor Summary | |
---|---|
SRCAClient(eu.xtreemos.system.eventmachine.queue.Context context)
|
Method Summary | |
---|---|
void |
applyForRegistration()
Obtain or reuse own resource details, and send them to RCA derver for resource registration application. |
void |
applyForRegistration(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Obtain or reuse own resource details, and send them to RCA derver for resource registration application. |
void |
applyForRegistration(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Obtain or reuse own resource details, and send them to RCA derver for resource registration application. |
void |
createDummyCertificate(ResourceID __dummyResId,
java.lang.String __outputPath)
|
void |
createDummyCertificate(ResourceID __dummyResId,
java.lang.String __outputPath,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
createDummyCertificate(ResourceID __dummyResId,
java.lang.String __outputPath,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
getMachineAttributeCertificate(java.lang.String __vo)
Retrieve the machine's attribute certificate. |
void |
getMachineAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve the machine's attribute certificate. |
void |
getMachineAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve the machine's attribute certificate. |
void |
getMachineCertificateDetails()
Opens the certificate currently stored locally and signed by RCA, and returns a string containing the details on the certificate. |
void |
getMachineCertificateDetails(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Opens the certificate currently stored locally and signed by RCA, and returns a string containing the details on the certificate. |
void |
getMachineCertificateDetails(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Opens the certificate currently stored locally and signed by RCA, and returns a string containing the details on the certificate. |
void |
getMachineIdentityCertificate()
Retrieve the node's machine identity certificate. |
void |
getMachineIdentityCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
Retrieve the node's machine identity certificate. |
void |
getMachineIdentityCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Retrieve the node's machine identity certificate. |
void |
initData()
A maintenance call for initialising the RCA client. |
void |
initData(eu.xtreemos.system.communication.bus.CallbackMessage callback)
A maintenance call for initialising the RCA client. |
void |
initData(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
A maintenance call for initialising the RCA client. |
void |
processAttributeVOCertificate(RCASignedResponse __certResponse)
|
void |
processAttributeVOCertificate(RCASignedResponse __certResponse,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processAttributeVOCertificate(RCASignedResponse __certResponse,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processInitalisationForApplication(java.lang.Integer __value)
Continue the execution from the applyForRegistration() call. |
void |
processInitalisationForApplication(java.lang.Integer __value,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Continue the execution from the applyForRegistration() call. |
void |
processInitalisationForApplication(java.lang.Integer __value,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Continue the execution from the applyForRegistration() call. |
void |
processInitialisationForAttribCert(java.lang.Integer __val)
|
void |
processInitialisationForAttribCert(java.lang.Integer __val,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processInitialisationForAttribCert(java.lang.Integer __val,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processInitialisationForRqNewCert(java.lang.Integer __retval)
Continue the execution from the requestNewCertificate() . |
void |
processInitialisationForRqNewCert(java.lang.Integer __retval,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Continue the execution from the requestNewCertificate() . |
void |
processInitialisationForRqNewCert(java.lang.Integer __retval,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Continue the execution from the requestNewCertificate() . |
void |
processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs)
|
void |
processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processMyDescriptorFailure(java.lang.Exception __ex)
|
void |
processMyDescriptorFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processMyDescriptorFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processMyServices(java.util.ArrayList<java.lang.String> __stages)
|
void |
processMyServices(java.util.ArrayList<java.lang.String> __stages,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processMyServices(java.util.ArrayList<java.lang.String> __stages,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processMyServicesFailure(java.lang.Exception __ex)
|
void |
processMyServicesFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processMyServicesFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
processRequestCertificate(RCASignedResponse __response)
The callback that resumes the execution from requestNewCertificate() after the RCAServer's requestCertificate returns a value. |
void |
processRequestCertificate(RCASignedResponse __response,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
The callback that resumes the execution from requestNewCertificate() after the RCAServer's requestCertificate returns a value. |
void |
processRequestCertificate(RCASignedResponse __response,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The callback that resumes the execution from requestNewCertificate() after the RCAServer's requestCertificate returns a value. |
void |
processRequestDummyCertificate(RCASignedResponse __response)
|
void |
processRequestDummyCertificate(RCASignedResponse __response,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
processRequestDummyCertificate(RCASignedResponse __response,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
pushVOAttributeCertificate(RCASignedResponse __certResponse)
Lets the RCA Server service push one or more machine's VO attribute certificates that can be installed and used on the local node. |
void |
pushVOAttributeCertificate(RCASignedResponse __certResponse,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lets the RCA Server service push one or more machine's VO attribute certificates that can be installed and used on the local node. |
void |
pushVOAttributeCertificate(RCASignedResponse __certResponse,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lets the RCA Server service push one or more machine's VO attribute certificates that can be installed and used on the local node. |
void |
removeVOAttributeCertificate(java.lang.String __vo)
Lets the RCA Server remove an attribute VO certificate, notifying the client about removal from the VO. |
void |
removeVOAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Lets the RCA Server remove an attribute VO certificate, notifying the client about removal from the VO. |
void |
removeVOAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Lets the RCA Server remove an attribute VO certificate, notifying the client about removal from the VO. |
void |
requestAttributeCertificate(java.lang.String __vo)
Requests the resource's attribute certificate providing credentials for the given VO from the RCA server. |
void |
requestAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Requests the resource's attribute certificate providing credentials for the given VO from the RCA server. |
void |
requestAttributeCertificate(java.lang.String __vo,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Requests the resource's attribute certificate providing credentials for the given VO from the RCA server. |
void |
requestNewCertificate()
The method generates a new public and private key pair, then sends the public key for certification to the RCA server and obtains the signed attribute certificate. |
void |
requestNewCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
The method generates a new public and private key pair, then sends the public key for certification to the RCA server and obtains the signed attribute certificate. |
void |
requestNewCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
The method generates a new public and private key pair, then sends the public key for certification to the RCA server and obtains the signed attribute certificate. |
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 |
---|
public static java.lang.String servicename
private eu.xtreemos.system.eventmachine.queue.Context context
private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail |
---|
public SRCAClient(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail |
---|
public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
public void applyForRegistration()
java.lang.Exception
public void applyForRegistration(eu.xtreemos.system.communication.bus.CallbackMessage callback)
java.lang.Exception
public void applyForRegistration(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
java.lang.Exception
public void getMachineIdentityCertificate()
java.lang.Exception
public void getMachineIdentityCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
java.lang.Exception
public void getMachineIdentityCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
java.lang.Exception
public void removeVOAttributeCertificate(java.lang.String __vo)
vo
- The name of a VO that the resource has been removed from.public void removeVOAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback)
vo
- The name of a VO that the resource has been removed from.public void removeVOAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
vo
- The name of a VO that the resource has been removed from.public void pushVOAttributeCertificate(RCASignedResponse __certResponse)
certResponse
- The object containing the pushed certificate(s).public void pushVOAttributeCertificate(RCASignedResponse __certResponse, eu.xtreemos.system.communication.bus.CallbackMessage callback)
certResponse
- The object containing the pushed certificate(s).public void pushVOAttributeCertificate(RCASignedResponse __certResponse, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
certResponse
- The object containing the pushed certificate(s).public void getMachineCertificateDetails()
java.lang.Exception
- Thrown when the certificate reading produces an error,
or the certificate files are in an invalid format.public void getMachineCertificateDetails(eu.xtreemos.system.communication.bus.CallbackMessage callback)
java.lang.Exception
- Thrown when the certificate reading produces an error,
or the certificate files are in an invalid format.public void getMachineCertificateDetails(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
java.lang.Exception
- Thrown when the certificate reading produces an error,
or the certificate files are in an invalid format.public void getMachineAttributeCertificate(java.lang.String __vo)
vo
- The ID of the VO the call is to retrieve the attribute
certificate of. Use null or an empty string to obtain the non-VO
certificate.
java.lang.Exception
public void getMachineAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback)
vo
- The ID of the VO the call is to retrieve the attribute
certificate of. Use null or an empty string to obtain the non-VO
certificate.
java.lang.Exception
public void getMachineAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
vo
- The ID of the VO the call is to retrieve the attribute
certificate of. Use null or an empty string to obtain the non-VO
certificate.
java.lang.Exception
public void requestNewCertificate()
public void requestNewCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void requestNewCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processInitialisationForRqNewCert(java.lang.Integer __retval)
requestNewCertificate()
.
retval
- public void processInitialisationForRqNewCert(java.lang.Integer __retval, eu.xtreemos.system.communication.bus.CallbackMessage callback)
requestNewCertificate()
.
retval
- public void processInitialisationForRqNewCert(java.lang.Integer __retval, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
requestNewCertificate()
.
retval
- public void initData()
public void initData(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void initData(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processRequestCertificate(RCASignedResponse __response)
response
- The result of the service call.public void processRequestCertificate(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback)
response
- The result of the service call.public void processRequestCertificate(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
response
- The result of the service call.public void createDummyCertificate(ResourceID __dummyResId, java.lang.String __outputPath)
public void createDummyCertificate(ResourceID __dummyResId, java.lang.String __outputPath, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void createDummyCertificate(ResourceID __dummyResId, java.lang.String __outputPath, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processRequestDummyCertificate(RCASignedResponse __response)
public void processRequestDummyCertificate(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processRequestDummyCertificate(RCASignedResponse __response, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void requestAttributeCertificate(java.lang.String __vo)
vo
- The VO to request the machine's attribute certificate for.
java.lang.Exception
public void requestAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback)
vo
- The VO to request the machine's attribute certificate for.
java.lang.Exception
public void requestAttributeCertificate(java.lang.String __vo, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
vo
- The VO to request the machine's attribute certificate for.
java.lang.Exception
public void processInitialisationForAttribCert(java.lang.Integer __val)
public void processInitialisationForAttribCert(java.lang.Integer __val, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processInitialisationForAttribCert(java.lang.Integer __val, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processAttributeVOCertificate(RCASignedResponse __certResponse)
public void processAttributeVOCertificate(RCASignedResponse __certResponse, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processAttributeVOCertificate(RCASignedResponse __certResponse, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processInitalisationForApplication(java.lang.Integer __value)
applyForRegistration()
call.
Here we assume the initialisation has been done, and proceed with
the application for registration.
value
- public void processInitalisationForApplication(java.lang.Integer __value, eu.xtreemos.system.communication.bus.CallbackMessage callback)
applyForRegistration()
call.
Here we assume the initialisation has been done, and proceed with
the application for registration.
value
- public void processInitalisationForApplication(java.lang.Integer __value, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
applyForRegistration()
call.
Here we assume the initialisation has been done, and proceed with
the application for registration.
value
- public void processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs)
public void processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processMyDescriptor(java.util.ArrayList<ResourceDescriptorRecord> __descrs, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processMyDescriptorFailure(java.lang.Exception __ex)
public void processMyDescriptorFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processMyDescriptorFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processMyServices(java.util.ArrayList<java.lang.String> __stages)
public void processMyServices(java.util.ArrayList<java.lang.String> __stages, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processMyServices(java.util.ArrayList<java.lang.String> __stages, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void processMyServicesFailure(java.lang.Exception __ex)
public void processMyServicesFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void processMyServicesFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |