Package com.verisign.epp.framework
Class EPPPollDataRecord
java.lang.Object
com.verisign.epp.framework.EPPPollDataRecord
The <EPPPollDataRecord> is a class to store the data information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value for the size attribute. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorEPPPollDataRecord(String aKind, Object aData, String aMsgId) Constructor when creating aEPPPollDataRecordto place into a queue.EPPPollDataRecord(String aKind, Object aData, String aMsgId, Date queuedDate, int queueSize) Creates a new EPPPollDataRecord object. -
Method Summary
Modifier and TypeMethodDescriptiongetData()Gets the ObjectgetKind()Gets the type of response messagegetMsgId()Gets Message IdgetQDate()Gets QDateintgetSize()Gets number of messages in queuevoidSets datavoidSets type of response messagevoidSets the message idvoidSets the date of a message was storedvoidsetSize(int aSize) Sets number of messages
-
Field Details
-
UNDEFINED
public static final int UNDEFINEDDefault 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
Constructor when creating aEPPPollDataRecordto place into a queue. The size attribute should be set usingsetSizeby the queue when a record is dequeued. By default, the size is set toEPPPollDataRecord.UNDEFINED.- Parameters:
aKind- Type of response messageaData- ObjectaMsgId- Message Id
-
EPPPollDataRecord
Creates a new EPPPollDataRecord object.- Parameters:
aKind- DOCUMENT ME!aData- DOCUMENT ME!aMsgId- DOCUMENT ME!queuedDate- DOCUMENT ME!queueSize- DOCUMENT ME!
-
-
Method Details
-
setKind
Sets type of response message- Parameters:
aKind- Type of response message
-
setData
Sets data- Parameters:
aData- Object
-
setMsgId
Sets the message id- Parameters:
aMsgId- Message Id
-
setQDate
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
Gets the type of response message- Returns:
- kind Type of response message.
-
getData
Gets the Object- Returns:
- data Object
-
getMsgId
Gets Message Id- Returns:
- msgId Message Id
-
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
-