public class GuiClientContext extends ClientContext
ClientContext for Swing GUI applications that have a ClientMainFrame.
If the isAutoReconnect flag is set in the ClientConfig, then the following
reconnection strategy applies:GuiReconnectorTask is started and runs a certain number of retries. If all of them fail
a ConnectionLostDialog is popped up asking the user whether retrying should be continued.isExitOnClose| Constructor and Description |
|---|
GuiClientContext(ClientConfig cfg) |
GuiClientContext(ClientConfig cfg,
boolean isConnectOnInit) |
| Modifier and Type | Method and Description |
|---|---|
protected ServerNotificationHandler |
createServerNotificationHandler()
Creates the
ServerNotificationHandler instance used to handle received ServerNotificationMessages |
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, toStringcheckInitialized, close, confirmCancelAllAsyncActivity, createErrorHandler, createLicense, 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, showWarninggetLogChannel, getLogLevel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel, setLogLevelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic GuiClientContext(ClientConfig cfg)
public GuiClientContext(ClientConfig cfg, boolean isConnectOnInit)
public final boolean isGuiClient()
ApplicationContextisGuiClient in class ApplicationContextprotected final ServerNotificationHandler createServerNotificationHandler()
ServerNotificationHandler instance used to handle received ServerNotificationMessagescreateServerNotificationHandler in class ClientContextCopyright © 2014 EsprIT-Systems. All Rights Reserved.