public class DecentralizedAcquisitionMechanism extends AAcquisitionMechanism
| Modifier and Type | Field and Description |
|---|---|
protected int |
responses
The number of responses (<1=disabled).
|
secser| Constructor and Description |
|---|
DecentralizedAcquisitionMechanism()
Create a new mechanism.
|
DecentralizedAcquisitionMechanism(int responses)
Create a new mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.security.cert.Certificate> |
acquireCertificate(java.lang.String name)
Acquire a certificate.
|
jadex.bridge.service.types.security.MechanismInfo |
getMechanismInfo()
Get the mechanism info for the gui.
|
jadex.commons.Properties |
getProperties()
Get the properties of the mechanism.
|
void |
setParameterValue(java.lang.String name,
java.lang.Object value)
Set a mechanism parameter value.
|
void |
setProperties(jadex.commons.Properties props)
Set the properties of the mechanism.
|
void |
setResponses(int responses)
Set the responses.
|
getSecurityService, initpublic DecentralizedAcquisitionMechanism()
public DecentralizedAcquisitionMechanism(int responses)
public jadex.commons.future.IFuture<java.security.cert.Certificate> acquireCertificate(java.lang.String name)
AAcquisitionMechanismacquireCertificate in class AAcquisitionMechanismname - The platform prefix of the target.public jadex.bridge.service.types.security.MechanismInfo getMechanismInfo()
getMechanismInfo in class AAcquisitionMechanismpublic void setParameterValue(java.lang.String name,
java.lang.Object value)
setParameterValue in class AAcquisitionMechanismname - The mechanism name.value - The mechanism value.public void setResponses(int responses)
responses - The responses to set.public jadex.commons.Properties getProperties()
getProperties in class AAcquisitionMechanismpublic void setProperties(jadex.commons.Properties props)
setProperties in class AAcquisitionMechanism