com.liberty.rtk.extension.epprtk.example
Class SessionExample
java.lang.Object
com.liberty.rtk.extension.epprtk.example.SessionExample
- Direct Known Subclasses:
- AsiaCEDContactSessionExample, AsiaSessionExample, IprSessionExample, MobiSessionExample, OxrsSessionExample, RgpSessionExample, SupplementalDataExample, TrademarkSessionExample
public abstract class SessionExample
- extends java.lang.Object
Example code for a typical logical EPP sessions.
- Version:
- $Revision: 1.1 $ $Date: 2006/03/03 16:33:47 $
- Author:
- Eric Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
epp_host_name
protected java.lang.String epp_host_name
epp_host_port
protected int epp_host_port
epp_client_id
protected java.lang.String epp_client_id
epp_password
protected java.lang.String epp_password
epp_client
protected com.tucows.oxrs.epprtk.rtk.EPPClient epp_client
SessionExample
protected SessionExample(java.lang.String[] args)
nextArgument
protected final java.lang.String nextArgument()
assertNotNull
protected final void assertNotNull(java.lang.String arg)
getUsage
protected java.lang.String getUsage()
session
public void session()
login
protected void login()
throws org.openrtk.idl.epprtk.epp_Exception,
java.io.IOException,
org.openrtk.idl.epprtk.epp_XMLException,
com.tucows.oxrs.epprtk.rtk.transport.EPPTransportException
- Throws:
org.openrtk.idl.epprtk.epp_Exception
java.io.IOException
org.openrtk.idl.epprtk.epp_XMLException
com.tucows.oxrs.epprtk.rtk.transport.EPPTransportException
process
protected abstract void process()
throws org.openrtk.idl.epprtk.epp_Exception,
java.io.IOException,
org.openrtk.idl.epprtk.epp_XMLException
- Throws:
org.openrtk.idl.epprtk.epp_Exception
java.io.IOException
org.openrtk.idl.epprtk.epp_XMLException
logout
protected void logout()
throws org.openrtk.idl.epprtk.epp_Exception,
java.io.IOException,
org.openrtk.idl.epprtk.epp_XMLException
- Throws:
org.openrtk.idl.epprtk.epp_Exception
java.io.IOException
org.openrtk.idl.epprtk.epp_XMLException
getClientTrid
protected java.lang.String getClientTrid()
createEPPCommand
protected org.openrtk.idl.epprtk.epp_Command createEPPCommand()
getUserInputAuthInfo
protected org.openrtk.idl.epprtk.epp_AuthInfo getUserInputAuthInfo()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2003 - Afilias Limited