com.liberty.rtk.extension.epprtk.example

Class SessionExample

Known Direct Subclasses:
AsiaCEDContactSessionExample, AsiaSessionExample, IprSessionExample, MobiSessionExample, OxrsSessionExample, RgpSessionExample, 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

Field Summary

protected EPPClient
epp_client
protected String
epp_client_id
protected String
epp_host_name
protected int
epp_host_port
protected String
epp_password

Constructor Summary

SessionExample(args[] )

Method Summary

protected void
assertNotNull(String arg)
protected epp_Command
createEPPCommand()
protected String
getClientTrid()
protected String
getUsage()
protected epp_AuthInfo
getUserInputAuthInfo()
protected void
login()
protected void
logout()
protected String
nextArgument()
protected abstract void
process()
void
session()

Field Details

epp_client

protected EPPClient epp_client

epp_client_id

protected String epp_client_id

epp_host_name

protected String epp_host_name

epp_host_port

protected int epp_host_port

epp_password

protected String epp_password

Constructor Details

SessionExample

protected SessionExample(args[] )

Method Details

assertNotNull

protected final void assertNotNull(String arg)

createEPPCommand

protected epp_Command createEPPCommand()

getClientTrid

protected String getClientTrid()

getUsage

protected String getUsage()

getUserInputAuthInfo

protected epp_AuthInfo getUserInputAuthInfo()
            throws IOException

login

protected void login()
            throws epp_Exception,
                   IOException,
                   epp_XMLException,
                   EPPTransportException

logout

protected void logout()
            throws epp_Exception,
                   IOException,
                   epp_XMLException

nextArgument

protected final String nextArgument()

process

protected abstract void process()
            throws epp_Exception,
                   IOException,
                   epp_XMLException

session

public void session()

Copyright © 2001-2003 - Afilias Limited