EPP RTK
for Java v 0.4.1

org.openrtk.idl.epp
Class epp_Greeting

java.lang.Object
  |
  +--org.openrtk.idl.epp.epp_Greeting
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public class epp_Greeting
extends java.lang.Object
implements org.omg.CORBA.portable.IDLEntity

Class that contains elements to state the EPP server's abilities.

The greeting returned by the server is in response to a successful connection or the hello request initiated by the client.

It lists the languages and protocol versions supported by the server and the services offered by the server.

$Header: /cvsroot/epp-rtk/epp-rtk/java/src/org/openrtk/idl/epp/epp_Greeting.java,v 1.7 2001/12/04 22:32:49 lyin Exp $
$Revision: 1.7 $
$Date: 2001/12/04 22:32:49 $

See Also:
EPPGreeting.getResponseData(), EPPClient.getGreeting(), EPPClient.hello(), Serialized Form

Field Summary
 java.lang.String[] m_langs
          The array of languages supported by the server.
 java.lang.String m_server_date
          The server's current date and time in UTC.
 java.lang.String m_server_id
          The name of the server.
 epp_Service[] m_services
          The array of services offered by the server.
 epp_Service[] m_unspec_services
          The array of custom object extensions supported by the server.
 java.lang.String[] m_versions
          The array of protocol versions supported by the server.
 
Constructor Summary
epp_Greeting()
          Empty constructor
epp_Greeting(java.lang.String _m_server_id, java.lang.String _m_server_date, java.lang.String[] _m_versions, java.lang.String[] _m_langs, epp_Service[] _m_services, epp_Service[] _m_unspec_services)
          The constructor with initializing variables.
 
Method Summary
 java.lang.String[] getLangs()
          Accessor method for the array of languages supported by the server
 java.lang.String getServerDate()
          Accessor method for the server's current date and time in UTC
 java.lang.String getServerId()
          Accessor method for the name of the server
 epp_Service[] getServices()
          Accessor method for the array of services offered by the server
 epp_Service[] getUnspecServices()
          Accessor method for the array of custom object extensions supported by the server
 java.lang.String[] getVersions()
          Accessor method for the array of protocol versions supported by the server
 void setLangs(java.lang.String[] value)
          Accessor method for the array of languages supported by the server
 void setServerDate(java.lang.String value)
          Accessor method for the server's current date and time in UTC
 void setServerId(java.lang.String value)
          Accessor method for the name of the server
 void setServices(epp_Service[] value)
          Accessor method for the array of services offered by the server
 void setUnspecServices(epp_Service[] value)
          Accessor method for the array of custom object extensions supported by the server
 void setVersions(java.lang.String[] value)
          Accessor method for the array of protocol versions supported by the server
 java.lang.String toString()
          Converts this class into a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_server_id

public java.lang.String m_server_id
The name of the server.
See Also:
setServerId(String), getServerId()

m_server_date

public java.lang.String m_server_date
The server's current date and time in UTC.
See Also:
setServerDate(String), getServerDate()

m_versions

public java.lang.String[] m_versions
The array of protocol versions supported by the server.
See Also:
setVersions(String[]), getVersions()

m_langs

public java.lang.String[] m_langs
The array of languages supported by the server.
See Also:
setLangs(String[]), getLangs()

m_services

public epp_Service[] m_services
The array of services offered by the server.
See Also:
setServices(org.openrtk.idl.epp.epp_Service[]), getServices()

m_unspec_services

public epp_Service[] m_unspec_services
The array of custom object extensions supported by the server.
See Also:
setUnspecServices(org.openrtk.idl.epp.epp_Service[]), getUnspecServices()
Constructor Detail

epp_Greeting

public epp_Greeting()
Empty constructor

epp_Greeting

public epp_Greeting(java.lang.String _m_server_id,
                    java.lang.String _m_server_date,
                    java.lang.String[] _m_versions,
                    java.lang.String[] _m_langs,
                    epp_Service[] _m_services,
                    epp_Service[] _m_unspec_services)
The constructor with initializing variables.
Parameters:
_m_server_id - The name of the server
_m_server_date - The server's current date and time in UTC
_m_versions - The array of protocol versions supported by the server
_m_langs - The array of languages supported by the server
_m_services - The array of services offered by the server
_m_unspec_services - The array of custom object extensions supported by the server
Method Detail

setServerId

public void setServerId(java.lang.String value)
Accessor method for the name of the server
Parameters:
value - The name of the server
See Also:
m_server_id

getServerId

public java.lang.String getServerId()
Accessor method for the name of the server
Returns:
The name of the server
See Also:
m_server_id

setServerDate

public void setServerDate(java.lang.String value)
Accessor method for the server's current date and time in UTC
Parameters:
value - The server's current date and time
See Also:
m_server_date

getServerDate

public java.lang.String getServerDate()
Accessor method for the server's current date and time in UTC
Returns:
The server's current date and time
See Also:
m_server_date

setVersions

public void setVersions(java.lang.String[] value)
Accessor method for the array of protocol versions supported by the server
Parameters:
value - The array of protocol versions
See Also:
m_versions

getVersions

public java.lang.String[] getVersions()
Accessor method for the array of protocol versions supported by the server
Returns:
The array of protocol versions
See Also:
m_versions

setLangs

public void setLangs(java.lang.String[] value)
Accessor method for the array of languages supported by the server
Parameters:
value - The array of languages supported by the server
See Also:
m_langs

getLangs

public java.lang.String[] getLangs()
Accessor method for the array of languages supported by the server
Returns:
The array of languages supported by the server
See Also:
m_langs

setServices

public void setServices(epp_Service[] value)
Accessor method for the array of services offered by the server
Parameters:
value - The array of services
See Also:
m_services

getServices

public epp_Service[] getServices()
Accessor method for the array of services offered by the server
Returns:
The array of services
See Also:
m_services

setUnspecServices

public void setUnspecServices(epp_Service[] value)
Accessor method for the array of custom object extensions supported by the server
Parameters:
value - The array of service extensions
See Also:
m_unspec_services

getUnspecServices

public epp_Service[] getUnspecServices()
Accessor method for the array of custom object extensions supported by the server
Returns:
The array of service extensions
See Also:
m_unspec_services

toString

public java.lang.String toString()
Converts this class into a string. Typically used to view the object in debug output.
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this object instance

EPP RTK
for Java v 0.4.1

Copyright © 2001 - Tucows, Inc.