public abstract class BaseClient extends Object
Modifier and Type | Field and Description |
---|---|
protected edu.csus.ecs.pc2.core.ParseArguments |
bcParseArguments |
static String[] |
REQUIRED_OPTIONS_LIST |
Constructor and Description |
---|
BaseClient() |
Modifier and Type | Method and Description |
---|---|
void |
addOptions(String[] optionList)
Add additional command line options.
|
IContest |
getContest() |
String[] |
getOptionsWithParameter()
Command line options that have a parameter.
|
ServerConnection |
getServerConnection() |
void |
login(String[] args)
Login and perform onLoginAction().
|
abstract void |
onLoginAction()
Upon successful login invokes this method.
|
abstract void |
printProgramUsageInformation()
Print program usage information
|
protected edu.csus.ecs.pc2.core.ParseArguments bcParseArguments
public static final String[] REQUIRED_OPTIONS_LIST
public abstract void onLoginAction()
public abstract void printProgramUsageInformation()
public void addOptions(String[] optionList)
optionList
- public IContest getContest()
public ServerConnection getServerConnection()
public String[] getOptionsWithParameter()
public void login(String[] args) throws LoginFailureException, NotLoggedInException
user
- password
- LoginFailureException
NotLoggedInException