com.liberty.rtk.extension.epprtk.example

Class 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:
com.tucows.oxrs.epprtk.rtk.EPPClient, com.tucows.oxrs.epprtk.rtk.xml.EPPGreeting, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainUpdate, com.tucows.oxrs.epprtk.rtk.xml.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(args[] )

Method Summary

protected String
getUsage()
static void
main(args[] )
Main of the example.
protected void
process()

Methods inherited from class com.liberty.rtk.extension.epprtk.example.SessionExample

assertNotNull, createEPPCommand, getClientTrid, getUsage, getUserInputAuthInfo, login, logout, nextArgument, process, session

Constructor Details

RgpSessionExample

public RgpSessionExample(args[] )

Method Details

getUsage

protected String getUsage()
Overrides:
getUsage in interface SessionExample

main

public static void main(args[] )
Main of the example. Performs Domain info and update and demontrate the usage of the Rgp class in those commands.

process

protected void process()
            throws epp_Exception,
                   IOException,
                   epp_XMLException
Overrides:
process in interface SessionExample

Copyright © 2001-2003 - Afilias Limited