|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XenqttApplication
Specifies a type that implements a Xenqtt application. A Xenqtt application is an application that can be invoked via the command-line by the user.
| Method Summary | |
|---|---|
String |
getUsageText()
Get usage text to display to the user. |
void |
start(AppContext arguments)
Start the application. |
void |
stop()
Stop the application. |
| Method Detail |
|---|
void start(AppContext arguments)
arguments - The arguments that were supplied. This includes both normal arguments (e.g. -p port) and flags (e.g.
-a)void stop()
CTRL-c). The application should take all appropriate
shutdown actions at this point. This is called by the main thread that is used in launching Xenqtt
String getUsageText()
java -jar xenqtt.jar --help application) or if the
user supplies invalid arguments and/or flags to a specific application.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||