public class EPPPollDataRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
UNDEFINED
Default value for the size attribute.
|
Constructor and Description |
---|
EPPPollDataRecord()
Default constructor
|
EPPPollDataRecord(java.lang.String aKind,
java.lang.Object aData,
java.lang.String aMsgId)
Constructor when creating a
EPPPollDataRecord to place into
a queue. |
EPPPollDataRecord(java.lang.String aKind,
java.lang.Object aData,
java.lang.String aMsgId,
java.util.Date queuedDate,
int queueSize)
Creates a new EPPPollDataRecord object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData()
Gets the Object
|
java.lang.String |
getKind()
Gets the type of response message
|
java.lang.String |
getMsgId()
Gets Message Id
|
java.util.Date |
getQDate()
Gets QDate
|
int |
getSize()
Gets number of messages in queue
|
void |
setData(java.lang.Object aData)
Sets data
|
void |
setKind(java.lang.String aKind)
Sets type of response message
|
void |
setMsgId(java.lang.String aMsgId)
Sets the message id
|
void |
setQDate(java.util.Date aQDate)
Sets the date of a message was stored
|
void |
setSize(int aSize)
Sets number of messages
|
public static final int UNDEFINED
public EPPPollDataRecord()
public EPPPollDataRecord(java.lang.String aKind, java.lang.Object aData, java.lang.String aMsgId)
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
.aKind
- Type of response messageaData
- ObjectaMsgId
- Message Idpublic EPPPollDataRecord(java.lang.String aKind, java.lang.Object aData, java.lang.String aMsgId, java.util.Date queuedDate, int queueSize)
aKind
- DOCUMENT ME!aData
- DOCUMENT ME!aMsgId
- DOCUMENT ME!queuedDate
- DOCUMENT ME!queueSize
- DOCUMENT ME!public void setKind(java.lang.String aKind)
aKind
- Type of response messagepublic void setData(java.lang.Object aData)
aData
- Objectpublic void setMsgId(java.lang.String aMsgId)
aMsgId
- Message Idpublic void setQDate(java.util.Date aQDate)
aQDate
- date of message was storedpublic void setSize(int aSize)
aSize
- number of messagespublic java.lang.String getKind()
public java.lang.Object getData()
public java.lang.String getMsgId()
public java.util.Date getQDate()
public int getSize()
Copyright © VeriSign Inc. All Rights Reserved.