net.ripe.rpki.commons.provisioning.payload
Class AbstractProvisioningPayload

java.lang.Object
  extended by net.ripe.rpki.commons.provisioning.payload.AbstractProvisioningPayload
Direct Known Subclasses:
AbstractProvisioningQueryPayload, AbstractProvisioningResponsePayload

public abstract class AbstractProvisioningPayload
extends Object


Field Summary
static String DEFAULT_RECIPIENT
           
static String DEFAULT_SENDER
           
static Integer SUPPORTED_VERSION
           
 
Constructor Summary
protected AbstractProvisioningPayload(PayloadMessageType type)
           
 
Method Summary
 String getRecipient()
           
 String getSender()
           
 PayloadMessageType getType()
           
 Integer getVersion()
           
 void setRecipient(String recipient)
          Note: This field is used by some implementations to work out who the players are in an exchange of ProvisioningCmsObjects.
 void setSender(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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
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()


Copyright © 2008-2013 RIPE NCC, the Netherlands. All Rights Reserved.