|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xenqtt.application.AbstractXenqttApplication
net.sf.xenqtt.httpgateway.HttpGatewayApplication
public class HttpGatewayApplication
Runs an HTTP gateway as a XenQTT command line application
Constructor Summary | |
---|---|
HttpGatewayApplication()
|
Method Summary | |
---|---|
String |
getDescription()
This is used to display a detailed description of what this application does. |
String |
getOptsText()
The command line options string to display as part of the usage statement. |
String |
getOptsUsageText()
The usage description of the opts in XenqttApplication.getOptsText() . |
String |
getSummary()
This is used to display a single line summary of what this application does. |
void |
start(AppContext appContext)
Start the application. |
void |
stop()
Stop the application. |
Methods inherited from class net.sf.xenqtt.application.AbstractXenqttApplication |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpGatewayApplication()
Method Detail |
---|
public void start(AppContext appContext) throws Exception
XenqttApplication
appContext
- The context
for the application.
Exception
XenqttApplication.start(net.sf.xenqtt.AppContext)
public void stop() throws Exception
XenqttApplication
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
Exception
XenqttApplication.stop()
public String getOptsText()
XenqttApplication
XenqttApplication.getOptsText()
public String getOptsUsageText()
XenqttApplication
XenqttApplication.getOptsText()
. There should be a line in the format "\n\topt : description" for each opt in the
XenqttApplication.getOptsText()
string.
XenqttApplication.getOptsUsageText()
public String getSummary()
XenqttApplication
XenqttApplication.getSummary()
public String getDescription()
XenqttApplication
XenqttApplication.getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |