net.sf.xenqtt.application
Class LicenseApplication

java.lang.Object
  extended by net.sf.xenqtt.application.AbstractXenqttApplication
      extended by net.sf.xenqtt.application.LicenseApplication
All Implemented Interfaces:
XenqttApplication

public final class LicenseApplication
extends AbstractXenqttApplication


Constructor Summary
LicenseApplication()
           
 
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

LicenseApplication

public LicenseApplication()
Method Detail

start

public void start(AppContext appContext)
Description copied from interface: XenqttApplication
Start the application. This method is called by the main thread that is used in launching Xenqtt.

Parameters:
appContext - The context for the application.
See Also:
XenqttApplication.start(net.sf.xenqtt.AppContext)

stop

public void stop()
Description copied from interface: XenqttApplication
Stop the application. This method is called once the application is halted normally (e.g. 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

See Also:
XenqttApplication.stop()

getOptsText

public String getOptsText()
Description copied from interface: XenqttApplication
The command line options string to display as part of the usage statement.

Returns:
The opts to display
See Also:
XenqttApplication.getOptsText()

getOptsUsageText

public String getOptsUsageText()
Description copied from interface: XenqttApplication
The usage description of the opts in XenqttApplication.getOptsText(). There should be a line in the format "\n\topt : description" for each opt in the XenqttApplication.getOptsText() string.

Returns:
The usage text to display
See Also:
XenqttApplication.getOptsUsageText()

getSummary

public String getSummary()
Description copied from interface: XenqttApplication
This is used to display a single line summary of what this application does. For use in documentation.

Returns:
The summary display
See Also:
XenqttApplication.getSummary()

getDescription

public String getDescription()
Description copied from interface: XenqttApplication
This is used to display a detailed description of what this application does. For use in documentation.

Returns:
The description.
See Also:
XenqttApplication.getDescription()


Copyright © 2013. All Rights Reserved.