Class AbstractProvisioningPayload
- java.lang.Object
-
- net.ripe.rpki.commons.util.EqualsSupport
-
- net.ripe.rpki.commons.provisioning.payload.AbstractProvisioningPayload
-
- Direct Known Subclasses:
AbstractProvisioningQueryPayload,AbstractProvisioningResponsePayload
public abstract class AbstractProvisioningPayload extends EqualsSupport
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_RECIPIENTstatic StringDEFAULT_SENDERstatic IntegerSUPPORTED_VERSION
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProvisioningPayload(Integer version, PayloadMessageType type)protectedAbstractProvisioningPayload(PayloadMessageType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRecipient()StringgetSender()PayloadMessageTypegetType()IntegergetVersion()voidsetRecipient(String recipient)Note: This field is used by some implementations to work out who the players are in an exchange of ProvisioningCmsObjects.voidsetSender(String sender)Note: This field is used by some implementations to work out who the players are in an exchange of ProvisioningCmsObjects.-
Methods inherited from class net.ripe.rpki.commons.util.EqualsSupport
equals, hashCode, toString
-
-
-
-
Field Detail
-
DEFAULT_SENDER
public static final String DEFAULT_SENDER
- See Also:
- Constant Field Values
-
DEFAULT_RECIPIENT
public static final String DEFAULT_RECIPIENT
- See Also:
- Constant Field Values
-
SUPPORTED_VERSION
public static final Integer SUPPORTED_VERSION
-
-
Constructor Detail
-
AbstractProvisioningPayload
protected AbstractProvisioningPayload(PayloadMessageType type)
-
AbstractProvisioningPayload
protected AbstractProvisioningPayload(Integer version, PayloadMessageType type)
-
-
Method Detail
-
setRecipient
public void setRecipient(String recipient)
Note: This field is used by some implementations to work out who the players are in an exchange of ProvisioningCmsObjects. (eg APNIC). This setter is provided to make it easier to set this value 'close' to your code that deals with this actual exchange, as opposed to the code that deals with the other 'content' of the payload.
-
setSender
public void setSender(String sender)
Note: This field is used by some implementations to work out who the players are in an exchange of ProvisioningCmsObjects. (eg APNIC). This setter is provided to make it easier to set this value 'close' to your code that deals with this actual exchange, as opposed to the code that deals with the other 'content' of the payload.
-
getVersion
public Integer getVersion()
-
getSender
public String getSender()
-
getRecipient
public String getRecipient()
-
getType
public PayloadMessageType getType()
-
-