com.liberty.rtk.extension.epprtk.example
Class IprSessionExample

java.lang.Object
  extended by com.liberty.rtk.extension.epprtk.example.SessionExample
      extended by com.liberty.rtk.extension.epprtk.example.IprSessionExample

public class IprSessionExample
extends SessionExample

Example code for Liberty's Domain Ipr add-on to the RTK. Uses domain create, info and update to demonstrate its usage. The Domain Ipr is only required during the Sunrise period of the .asia and .me registries.

Version:
$Revision: 1.3 $ $Date: 2008/03/14 19:17:22 $
Author:
Anna Simbirtsev
See Also:
EPPClient, EPPGreeting, EPPDomainCreate, EPPDomainInfo, EPPDomainUpdate

Field Summary
 
Fields inherited from class com.liberty.rtk.extension.epprtk.example.SessionExample
epp_client, epp_client_id, epp_host_name, epp_host_port, epp_password
 
Constructor Summary
IprSessionExample(java.lang.String[] args)
           
 
Method Summary
protected  java.lang.String getUsage()
           
static void main(java.lang.String[] args)
          Main of the example.
protected  void process()
           
 
Methods inherited from class com.liberty.rtk.extension.epprtk.example.SessionExample
assertNotNull, createEPPCommand, getClientTrid, getUserInputAuthInfo, login, logout, nextArgument, session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IprSessionExample

public IprSessionExample(java.lang.String[] args)
Method Detail

main

public static void main(java.lang.String[] args)
Main of the example. Performs Domain create, info and update and demontrate the usage of the DomainIpr class in those commands.


getUsage

protected java.lang.String getUsage()
Overrides:
getUsage in class SessionExample

process

protected void process()
                throws org.openrtk.idl.epprtk.epp_Exception,
                       java.io.IOException,
                       org.openrtk.idl.epprtk.epp_XMLException
Specified by:
process in class SessionExample
Throws:
org.openrtk.idl.epprtk.epp_Exception
java.io.IOException
org.openrtk.idl.epprtk.epp_XMLException


Copyright © 2001-2003 - Afilias Limited