public abstract class StandardClient extends AbstractMain
| Modifier and Type | Field and Description |
|---|---|
protected AgentProxy |
agent |
isServer, MAIN_ARG_CONFIG, MAIN_ARG_CONNECT, MAIN_ARG_LOGFILE, MAIN_ARG_LOGLEVEL, MAIN_ARG_NONEWLOGSTREAM, MAIN_ARG_RESETIOR, MAIN_ARG_SKIPBOOTSTRAP| Constructor and Description |
|---|
StandardClient() |
| Modifier and Type | Method and Description |
|---|---|
protected static StateMachine |
getRequiredStateMachine(String propPrefix,
String namesSpaceDefault,
String bootfileDefault)
CRISTAL-iSE clients should use the StateMachine information to implement application logic.
|
protected void |
login(String agentName,
String agentPass,
String resource) |
readC2KArgs, readPropertyFiles, setShutdownHandler, shutdownprotected AgentProxy agent
protected void login(String agentName, String agentPass, String resource) throws InvalidDataException
agentName - agentPass - resource - InvalidDataExceptionprotected static StateMachine getRequiredStateMachine(String propPrefix, String namesSpaceDefault, String bootfileDefault) throws InvalidDataException
propPrefix - the Property Name prefix to find client specific configurationnamesSpaceDefault - default value to load bootstrap file if no configuration was providedbootfileDefault - default value to load bootstrap file if no configuration was providedInvalidDataException - Missing/Incorrect configuration dataCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.