Class EPPPollDataRecord

java.lang.Object
com.verisign.epp.framework.EPPPollDataRecord

public class EPPPollDataRecord extends Object
The <EPPPollDataRecord> is a class to store the data information.

  • Field Details

    • UNDEFINED

      public static final int UNDEFINED
      Default value for the size attribute. The size attribute should be set by the queue when the record is dequeued.
      See Also:
  • Constructor Details

    • EPPPollDataRecord

      public EPPPollDataRecord()
      Default constructor
    • EPPPollDataRecord

      public EPPPollDataRecord(String aKind, Object aData, String aMsgId)
      Constructor when creating a EPPPollDataRecord to place into a queue. The size attribute should be set using setSize by the queue when a record is dequeued. By default, the size is set to EPPPollDataRecord.UNDEFINED.
      Parameters:
      aKind - Type of response message
      aData - Object
      aMsgId - Message Id
    • EPPPollDataRecord

      public EPPPollDataRecord(String aKind, Object aData, String aMsgId, Date queuedDate, int queueSize)
      Creates a new EPPPollDataRecord object.
      Parameters:
      aKind - DOCUMENT ME!
      aData - DOCUMENT ME!
      aMsgId - DOCUMENT ME!
      queuedDate - DOCUMENT ME!
      queueSize - DOCUMENT ME!
  • Method Details

    • setKind

      public void setKind(String aKind)
      Sets type of response message
      Parameters:
      aKind - Type of response message
    • setData

      public void setData(Object aData)
      Sets data
      Parameters:
      aData - Object
    • setMsgId

      public void setMsgId(String aMsgId)
      Sets the message id
      Parameters:
      aMsgId - Message Id
    • setQDate

      public void setQDate(Date aQDate)
      Sets the date of a message was stored
      Parameters:
      aQDate - date of message was stored
    • setSize

      public void setSize(int aSize)
      Sets number of messages
      Parameters:
      aSize - number of messages
    • getKind

      public String getKind()
      Gets the type of response message
      Returns:
      kind Type of response message.
    • getData

      public Object getData()
      Gets the Object
      Returns:
      data Object
    • getMsgId

      public String getMsgId()
      Gets Message Id
      Returns:
      msgId Message Id
    • getQDate

      public Date getQDate()
      Gets QDate
      Returns:
      qDate Date of the message was stored
    • getSize

      public int getSize()
      Gets number of messages in queue
      Returns:
      size number of messages