ClientApppublic class JettyStart extends Object implements ClientApp
| Constructor | Description |
|---|---|
JettyStart(I2PAppContext context,
ClientAppManager mgr,
String[] args) |
All args must be XML file names.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDisplayName() |
The display name of the ClientApp, used in user interfaces.
|
String |
getName() |
The generic name of the ClientApp, used for registration,
e.g.
|
ClientAppState |
getState() |
The current state of the ClientApp.
|
static void |
main(String[] args) |
For use in a plugin clients.config
|
void |
parseArgs(String[] args) |
Modified from XmlConfiguration.main()
|
void |
shutdown(String[] args) |
Do not take a long time.
|
void |
startup() |
Do not take a long time.
|
public JettyStart(I2PAppContext context, ClientAppManager mgr, String[] args) throws Exception
context - may be nullmgr - may be null e.g. for use in pluginsExceptionpublic void parseArgs(String[] args) throws Exception
Exceptionpublic void startup()
ClientApppublic void shutdown(String[] args)
ClientApppublic ClientAppState getState()
ClientApppublic String getName()
ClientApppublic String getDisplayName()
ClientAppgetDisplayName in interface ClientApppublic static void main(String[] args)
args - passed to constructor