public class PollRequestCommand extends PollCommand
The EPP<poll>command is used to discover and retrieve service messages queued by a server for individual clients. If the message queue is not empty, a successful response to a<poll>command MUST return the first message from the message queue. Each response returned from the server includes a server-unique message identifier that MUST be provided to acknowledge receipt of the message, and a counter that indicates the number of messages in the queue.
| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
cmdElement, command, extension| Constructor and Description |
|---|
PollRequestCommand() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toXML()
Serialize the EPP service element to XML.
|
java.lang.String |
toXML(XmlOutputConfig outputConfig)
Serialize the EPP service element to XML using the given output config.
|
appendExtension, getCommandType, getExtensionElement, getXmlWriter, initCmdElement, toXMLImplprotected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public final java.lang.String toXML()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - The XML representation of the command
failed schema validation. Further attempts to serialize this command
will also fail.toXMLpublic final java.lang.String toXML(XmlOutputConfig outputConfig) throws org.xml.sax.SAXException
outputConfig - a configuration that indicates how to output the XMLorg.xml.sax.SAXExceptionXmlOutputConfig