EppHost
This EppHost
class implements EPP Host objects.
Inheritance:
Public Fields
-
static const char* STATUS_CLIENT_DELETE_PROHIBITED
- Host status - clientDeleteProhibited
-
static const char* STATUS_CLIENT_UPDATE_PROHIBITED
- Host status - clientUpdateProhibited
-
static const char* STATUS_LINKED
- Host status - linked
-
static const char* STATUS_OK
- Host status - ok
-
static const char* STATUS_PENDING_DELETE
- Host status - pendingDelete
-
static const char* STATUS_PENDING_TRANSFER
- Host status - pendingTransfer
-
static const char* STATUS_SERVER_DELETE_PROHIBITED
- Host status - serverDeleteProhibited
-
static const char* STATUS_SERVER_UPDATE_PROHIBITED
- Host status - serverUpdateProhibited
Public Methods
-
EppHost()
- Creates an
EppHost
object
-
EppHost( DOMString name )
- Creates an
EppHost
object with a domain name
-
~EppHost()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
DOMString getName()
- Gets the name of the host
-
void setName( DOMString name )
- Sets the name of the host
-
ValueVectorOf<EppIpAddress> * getAddress()
- Gets the list of IP addresses associated with the host
-
void addAddress( EppIpAddress address )
- Adds an IP address into the list of the IP addresses associated with the host
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppHost
object into an XML element
-
static EppHost* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppHost
object.
-
static EppCommandDeleteHost remove( DOMString name, DOMString xid )
- Creates an
EppCommandDeleteHost
object for deleting an EPP Host object from the registry.
-
static EppCommandInfoHost info( DOMString name, DOMString xid )
- Creates an
EppCommandInfoHost
object for querying the details of an EPP Host object
-
static EppCommandCheckHost check( DOMString xid )
- Creates an
EppCommandCheckHost
object for checking the existance of EPP Host objects in the registry.
-
static EppCommandUpdateHost update( DOMString name, DOMString xid )
- Creates an
EppCommandUpdateHost
object for updating an EPP Host object in the registry.
Public Fields
-
static const int CONTACT
-
static const int DOMAIN
-
static const int HOST
Public Methods
-
DOMString getRoid()
-
void setRoid( DOMString roid )
-
DOMString getClientId()
-
void setClientId( DOMString clientId )
-
DOMString getClientIdCreated()
-
void setClientIdCreated( DOMString clientId )
-
time_t getDateCreated()
-
void setDateCreated( time_t cal )
-
DOMString getClientIdUpdated()
-
void setClientIdUpdated( DOMString clientId )
-
time_t getDateUpdated()
-
void setDateUpdated( time_t cal )
-
time_t getDateExpired()
-
void setDateExpired( time_t cal )
-
time_t getDateTransferred()
-
void setDateTransferred( time_t cal )
-
EppAuthInfo* getAuthInfo()
-
void setAuthInfo( EppAuthInfo authInfo )
-
ValueVectorOf<EppStatus> * getStatus()
-
void addStatus( EppStatus status )
-
static EppCommandCreate create( EppObject* object, DOMString xid )
Protected Fields
-
DOMString roid
-
ValueVectorOf<EppStatus> * status
-
DOMString clID
-
DOMString crID
-
time_t crDate
-
DOMString upID
-
time_t upDate
-
time_t exDate
-
time_t trDate
-
EppAuthInfo* authInfo
Protected Methods
-
void fromXMLCommon( const DOM_Node& node, const DOMString name )
-
void toXMLCommon( DOM_Document& doc, DOM_Element& body )
-
void freeCommon()
Public Methods
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppHost
class implements EPP Host objects.
- static const char* STATUS_CLIENT_DELETE_PROHIBITED
-
Host status - clientDeleteProhibited
- static const char* STATUS_CLIENT_UPDATE_PROHIBITED
-
Host status - clientUpdateProhibited
- static const char* STATUS_LINKED
-
Host status - linked
- static const char* STATUS_OK
-
Host status - ok
- static const char* STATUS_PENDING_DELETE
-
Host status - pendingDelete
- static const char* STATUS_PENDING_TRANSFER
-
Host status - pendingTransfer
- static const char* STATUS_SERVER_DELETE_PROHIBITED
-
Host status - serverDeleteProhibited
- static const char* STATUS_SERVER_UPDATE_PROHIBITED
-
Host status - serverUpdateProhibited
- EppHost()
-
Creates an
EppHost
object
- EppHost( DOMString name )
-
Creates an
EppHost
object with a domain name
- ~EppHost()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- DOMString getName()
-
Gets the name of the host
- void setName( DOMString name )
-
Sets the name of the host
- ValueVectorOf<EppIpAddress> * getAddress()
-
Gets the list of IP addresses associated with the host
- void addAddress( EppIpAddress address )
-
Adds an IP address into the list of the IP addresses associated with
the host
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppHost
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppHost
object
- Returns:
- an
DOM_Element
object
- static EppHost* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppHost
object.
The caller of this method must make sure that the root node is of
the EPP Host type.
- Parameters:
- root - root node for an
EppHost
object in
XML format
- Returns:
- an
EppHost
object, or null if the node
is invalid
- static EppCommandDeleteHost remove( DOMString name, DOMString xid )
-
Creates an
EppCommandDeleteHost
object for
deleting an EPP Host object from the registry.
- Parameters:
- name - the name of the host object to be deleted
xid - the client transaction id associated with the operation
- static EppCommandInfoHost info( DOMString name, DOMString xid )
-
Creates an
EppCommandInfoHost
object for
querying the details of an EPP Host object
- Parameters:
- name - the name of the host object to be queried
xid - the client transaction id associated with the operation
- static EppCommandCheckHost check( DOMString xid )
-
Creates an
EppCommandCheckHost
object for
checking the existance of EPP Host objects in the registry.
Names of EPP Host objects can be added via the
add
or addName
methods.
- Parameters:
- xid - the client transaction id associated with the operation
- static EppCommandUpdateHost update( DOMString name, DOMString xid )
-
Creates an
EppCommandUpdateHost
object for
updating an EPP Host object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateHost
object.
- Parameters:
- name - the name of the host object to be updated
xid - the client transaction id associated with the operation
- 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 NeuStar, Inc. All Rights Reserved.