EppCommandPoll
This EppCommandPoll
class implements EPP Command Poll entity.
Inheritance:
Public Fields
-
static const char* OPTYPE_REQ
- Poll operation type for polling existing messages (default)
-
static const char* OPTYPE_ACK
- Poll operation type for acknowledging the receiption of a message
Public Methods
-
EppCommandPoll()
- Creates an
EppCommandPoll
object, with default operation type as "req"
-
EppCommandPoll( DOMString xid )
- Creates an
EppCommandPoll
object, with default operation type as "req", given a client transaction id associated with operation
-
EppCommandPoll( DOMString operation, DOMString messageId )
- Creates an
EppCommandPoll
object, given the operation type and the message id.
-
EppCommandPoll( DOMString operation, DOMString messageId, DOMString xid )
- Creates an
EppCommandPoll
object, given the operation type and the message id and a client transaction id associated with operation
-
~EppCommandPoll()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
DOMString getOperation()
- Gets the poll operation type
-
void setOperation( DOMString operation )
- Sets the poll operation type, either "req" or "ack"
-
DOMString getMessageId()
- Gets the message id related to the poll command
-
void setMessageId( DOMString messageId )
- Sets the message id related to the poll command
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCommandPoll
object into an XML element
-
static EppCommandPoll* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCommandPoll
object.
Public Methods
-
EppCreds* getCreds()
-
void setCreds( EppCreds& creds )
-
EppUnspec* getUnspec()
-
void setUnspec( EppUnspec& unspec )
-
DOMString getClientTransactionId()
-
void setClientTransactionId( DOMString xid )
-
static EppCommandCreate create( EppObject* object, DOMString xid )
-
static EppCommandCheck* check( int objectType, DOMString xid )
-
static EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )
Protected Fields
-
EppCreds* creds
-
EppUnspec* unspec
-
DOMString clTRID
Protected Methods
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )
Public Methods
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppCommandPoll
class implements EPP Command Poll
entity.
- static const char* OPTYPE_REQ
-
Poll operation type for polling existing messages (default)
- static const char* OPTYPE_ACK
-
Poll operation type for acknowledging the receiption of a message
- EppCommandPoll()
-
Creates an
EppCommandPoll
object, with default operation
type as "req"
- EppCommandPoll( DOMString xid )
-
Creates an
EppCommandPoll
object, with default operation
type as "req", given a client transaction id associated with
operation
- EppCommandPoll( DOMString operation, DOMString messageId )
-
Creates an
EppCommandPoll
object, given the operation
type and the message id.
Note: the operation type is either "req" for request, or "ack" for
acknowledgement
- EppCommandPoll( DOMString operation, DOMString messageId, DOMString xid )
-
Creates an
EppCommandPoll
object, given the operation
type and the message id and a client transaction id associated with
operation
Note: the operation type is either "req" for request, or "ack" for
acknowledgement
- ~EppCommandPoll()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- DOMString getOperation()
-
Gets the poll operation type
- void setOperation( DOMString operation )
-
Sets the poll operation type, either "req" or "ack"
- DOMString getMessageId()
-
Gets the message id related to the poll command
- void setMessageId( DOMString messageId )
-
Sets the message id related to the poll command
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppCommandPoll
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppCommandPoll
object
- Returns:
- an
DOM_Element
object
- static EppCommandPoll* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppCommandPoll
object.
The caller of this method must make sure that the root node is of an
EPP Command Create entity.
- Parameters:
- root - root node for an
EppCommandPoll
object
in XML format
- Returns:
- an
EppCommandPoll
object, or null if the node
is invalid
- This class has no child classes.
- Author:
- Ning Zhang ning.zhang@neustar.com
- Version:
- $Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001-2002 NeuStar, Inc. All Rights Reserved.