com.liberty.rtk.extension.epprtk.example

Class TrademarkSessionExample


public class TrademarkSessionExample
extends SessionExample

Example code for Liberty's Domain Trademark add-on to the RTK. Uses domain create, info and update to demonstrate its usage. The Domain Trademark is only required during the Sunrise period of the .info registry.
Version:
$Revision: 1.2 $ $Date: 2008/01/02 19:02:51 $
Author:
Daniel Manley
See Also:
com.tucows.oxrs.epprtk.rtk.EPPClient, com.tucows.oxrs.epprtk.rtk.xml.EPPGreeting, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainCreate, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainInfo, com.tucows.oxrs.epprtk.rtk.xml.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

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

TrademarkSessionExample

public TrademarkSessionExample(args[] )

Method Details

getUsage

protected String getUsage()
Overrides:
getUsage in interface SessionExample

main

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

process

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

Copyright © 2001-2003 - Afilias Limited