org.gwe.app.client.regular.shell
Class ClientShellApp

java.lang.Object
  extended by org.gwe.app.client.regular.shell.ClientShellApp
Direct Known Subclasses:
CommandShellApp, RealtimeDaemonMonitorApp, TerminalShellApp

public class ClientShellApp
extends java.lang.Object

Since:
Jan 25, 2008
Author:
Marco Ruiz

Field Summary
protected  ClientConfig appConfig
           
protected  HeadResourceInfo cluster
           
protected static java.lang.String QUEUE_ORDER_COMMAND
           
protected  ProgressTracker tracker
           
 
Constructor Summary
ClientShellApp(java.lang.String clientName, ProgressTracker tracker, int index, ArgsList argsList)
           
ClientShellApp(java.lang.String clientName, ProgressTracker tracker, java.lang.String confArg)
           
 
Method Summary
protected  void exit(java.lang.String message)
           
 ClientConfig getAppConfig()
           
protected  java.util.List<java.lang.String> getCommandList()
           
 Session4ClientAPIEnhancer getSession()
           
 java.lang.String processCommand(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUEUE_ORDER_COMMAND

protected static final java.lang.String QUEUE_ORDER_COMMAND
See Also:
Constant Field Values

tracker

protected ProgressTracker tracker

appConfig

protected ClientConfig appConfig

cluster

protected HeadResourceInfo cluster
Constructor Detail

ClientShellApp

public ClientShellApp(java.lang.String clientName,
                      ProgressTracker tracker,
                      int index,
                      ArgsList argsList)
               throws CredentialNotFoundException,
                      java.io.IOException
Throws:
CredentialNotFoundException
java.io.IOException

ClientShellApp

public ClientShellApp(java.lang.String clientName,
                      ProgressTracker tracker,
                      java.lang.String confArg)
               throws CredentialNotFoundException,
                      java.io.IOException
Throws:
CredentialNotFoundException
java.io.IOException
Method Detail

getAppConfig

public ClientConfig getAppConfig()

getSession

public Session4ClientAPIEnhancer getSession()

processCommand

public java.lang.String processCommand(java.lang.String[] args)
                                throws ServerAPIConnectionException,
                                       P2ELSyntaxException,
                                       PasswordMismatchException,
                                       java.rmi.RemoteException,
                                       GWEDomainException,
                                       REXException
Throws:
ServerAPIConnectionException
P2ELSyntaxException
PasswordMismatchException
java.rmi.RemoteException
GWEDomainException
REXException

getCommandList

protected java.util.List<java.lang.String> getCommandList()

exit

protected void exit(java.lang.String message)


Copyright © 2007-2009. All Rights Reserved.