public class RawClientContext extends ClientContext
ClientContext
for applications without GUI.
Mainly used for test purposes or special direct connections.isExitOnClose
Constructor and Description |
---|
RawClientContext(ClientConfig cfg) |
RawClientContext(ClientConfig cfg,
boolean isConnectOnInit) |
Modifier and Type | Method and Description |
---|---|
protected ErrorHandler |
createErrorHandler()
Creates the
ConsoleErrorHandler instance used to handle errors
of Agents and ClientCommands |
protected License |
createLicense() |
protected ServerNotificationHandler |
createServerNotificationHandler()
Creates the
ServerNotificationHandler instance used to handle received ServerMessages |
boolean |
isGuiClient()
Tells whether this client has a GUI
|
cancelTask, cancelTask, createClientConnector, createClientInfo, createTaskManager, getABOManager, getAdminActionValidator, getAgentParamsCache, getClientCache, getClientConfig, getClientConnector, getMainFrame, getNetActionValidator, getServerMessageHandler, getTaskManager, getUserActionValidator, getUserCache, init, isCoClient, loadTranslations, readClientInfo, setMainFrame, toDumpString, toString
checkInitialized, close, confirmCancelAllAsyncActivity, createUncaughtExceptionHandler, exit, getApplicationConfig, getApplicationName, getCustomVersion, getDatabase, getErrorHandler, getEspritVersion, getJavaVersionManager, getLicense, getSupportedLanguages, getTextEditor, hasMainFrame, isClosed, isDefaultContext, isInitialized, registerForClose, setDatabase, setExitOnClose, showError, showError, showError, showInfo, showInfo, showWarning, showWarning
getLogChannel, getLogLevel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel, setLogLevel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public RawClientContext(ClientConfig cfg)
public RawClientContext(ClientConfig cfg, boolean isConnectOnInit)
public final boolean isGuiClient()
ApplicationContext
isGuiClient
in class ApplicationContext
protected License createLicense() throws java.lang.Exception
createLicense
in class ApplicationContext
java.lang.Exception
protected final ServerNotificationHandler createServerNotificationHandler()
ServerNotificationHandler
instance used to handle received ServerMessagescreateServerNotificationHandler
in class ClientContext
protected final ErrorHandler createErrorHandler()
ConsoleErrorHandler
instance used to handle errors
of Agents and ClientCommandscreateErrorHandler
in class ApplicationContext
Copyright © 2014 EsprIT-Systems. All Rights Reserved.