simple
Class BaseClient

java.lang.Object
  extended bysimple.BaseClient
Direct Known Subclasses:
AdminClient, Client, VerySimpleClient

public abstract class BaseClient
extends java.lang.Object

Base class to hold common functonality for client side access to XDRS.

Version:
$Revision: 1.1 $ $Date: 2005/05/06 21:28:19 $ (GMT)
Author:
Aleksander Slominski, Gopi

Constructor Summary
BaseClient()
           
 
Method Summary
abstract  void doWork()
           
abstract  java.lang.String getPrefix()
           
 java.lang.String getUsage()
           
 XDirectoryService getXdrsStartpoint()
          Create startpoint to XDRS that is configured according to command line options and system properties and print what is security context configuration
 void msg(java.lang.String msg)
           
 void processArgs(java.lang.String[] args)
           
 void run(java.lang.String[] args)
           
 int unknownArg(java.lang.String[] args, int argsCount)
           
 void usage(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseClient

public BaseClient()
Method Detail

getPrefix

public abstract java.lang.String getPrefix()

doWork

public abstract void doWork()
                     throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run(java.lang.String[] args)

msg

public void msg(java.lang.String msg)

usage

public void usage(java.lang.String msg)

getUsage

public java.lang.String getUsage()

unknownArg

public int unknownArg(java.lang.String[] args,
                      int argsCount)
               throws java.lang.Exception
Throws:
java.lang.Exception

processArgs

public void processArgs(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getXdrsStartpoint

public XDirectoryService getXdrsStartpoint()
                                    throws xsul.XsulException,
                                           org.globus.gsi.GlobusCredentialException,
                                           soaprmi.RemoteException
Create startpoint to XDRS that is configured according to command line options and system properties and print what is security context configuration

Throws:
xsul.XsulException
org.globus.gsi.GlobusCredentialException
soaprmi.RemoteException