|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xenqtt.mockbroker.MockBrokerApplication
public class MockBrokerApplication
Runs the MockBroker
as a xenqtt command line application
Constructor Summary | |
---|---|
MockBrokerApplication()
|
Method Summary | |
---|---|
String |
getUsageText()
Get usage text to display to the user. |
void |
start(AppContext arguments)
Start the application. |
void |
stop()
Stop the application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockBrokerApplication()
Method Detail |
---|
public void start(AppContext arguments)
XenqttApplication
start
in interface XenqttApplication
arguments
- The arguments
that were supplied. This includes both normal arguments (e.g. -p port
) and flags (e.g.
-a
)XenqttApplication.start(net.sf.xenqtt.AppContext)
public void stop()
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
stop
in interface XenqttApplication
XenqttApplication.stop()
public String getUsageText()
XenqttApplication
java -jar xenqtt.jar --help application
) or if the
user supplies invalid arguments and/or flags to a specific application.
getUsageText
in interface XenqttApplication
XenqttApplication.getUsageText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |