net.sf.xenqtt
Class Xenqtt
java.lang.Object
net.sf.xenqtt.Xenqtt
public final class Xenqtt
- extends Object
The entry point into the application when either the proxy or the gateway are run.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xenqtt
public Xenqtt()
main
public static void main(String... args)
throws InterruptedException
- The entry point into Xenqtt.
- Parameters:
args
-
The arguments specified by the user at the command-line. You can supply global logging flags (-v
, -vv
, or -v -v
) and a
mode to run Xenqtt in. The supported modes, at present, are:
proxy
gateway
mockbroker
testclient
help
To get mode-specific help information use the help
mode and then specify the mode name (e.g. help proxy
)
- Throws:
InterruptedException
getApplications
public static Collection<XenqttApplication> getApplications()
- Returns:
- All
applications
getApplication
public static XenqttApplication getApplication(String appName)
- Returns:
- The
application
with the specified name (case insensitive). Null if there is no app with the specified name.
getAppSpecificUsageText
public static String getAppSpecificUsageText(XenqttApplication application)
- Returns:
- The usage text for a specific application
getFullUsageText
public static String getFullUsageText()
- Returns:
- The full usage text for xenqtt
Copyright © 2013. All Rights Reserved.