public class EspritClientLaunch extends AbstractClientLaunch<ClientConfig,GuiClientContext>
EspritClientLaunch
tool.
It establishes the RequestChannel
and MessageChannel
connections and launches the EspritClientLoginFrame
.DO_NOT_EXIT, EXIT_CODE_CLP_ERROR, EXIT_CODE_LAUNCH_ERROR, isTestMode
Constructor and Description |
---|
EspritClientLaunch(ClientConfig cfg) |
Modifier and Type | Method and Description |
---|---|
protected ApplicationCommandLineParser |
createCommandLineParser(java.lang.String[] args)
Creates the CommandLineParser instance for launching the application.
|
protected GuiClientContext |
createContext(ClientConfig cfg)
Creates the application context from the Config object.
|
protected ZFrame |
launchMainFrame(GuiClientContext ctx)
Must be implemented for running a GUI application.
|
static void |
main(java.lang.String[] args) |
doOnMainFrameCreated
createSplashIcon, doOnContextCreated, getError, getLaunchedContext, getLaunchedMainFrame, handleCommandLineError, handleLaunchError, hasError, hasGui, launch, launchApplication, setTestMode, showFatalError, showFatalError
public EspritClientLaunch(ClientConfig cfg)
protected ZFrame launchMainFrame(GuiClientContext ctx)
AbstractApplicationLaunch
launchMainFrame
in class AbstractApplicationLaunch<ClientConfig,GuiClientContext>
protected ApplicationCommandLineParser createCommandLineParser(java.lang.String[] args)
AbstractApplicationLaunch
createCommandLineParser
in class AbstractClientLaunch<ClientConfig,GuiClientContext>
protected GuiClientContext createContext(ClientConfig cfg) throws java.lang.Exception
AbstractApplicationLaunch
createContext
in class AbstractApplicationLaunch<ClientConfig,GuiClientContext>
java.lang.Exception
public static void main(java.lang.String[] args)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.