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

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

public class RgpSessionExample
extends SessionExample

Example code for Liberty's Domain Rgp add-on to the RTK. Uses domain update, info to demonstrate its usage.

Version:
$Revision: 1.1 $ $Date: 2007/11/19 20:25:47 $
Author:
Anna Simbirtsev
See Also:
EPPClient, EPPGreeting, EPPDomainUpdate, EPPDomainInfo

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
RgpSessionExample(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

RgpSessionExample

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

main

public static void main(java.lang.String[] args)
Main of the example. Performs Domain info and update and demontrate the usage of the Rgp 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