com.devexperts.qd.tools
Class Dump

java.lang.Object
  extended by com.devexperts.qd.tools.AbstractTool
      extended by com.devexperts.qd.tools.Dump

@ToolSummary(info="Dumps all data and subscription information received from address.",
             argString={"
","
"}, arguments={"
-- address to dump (see @link{address})"," -- optional file to read ticker subscription from"}) public class Dump
extends AbstractTool

Connects to specified address(es) and dumps all received data and subscription information.


Field Summary
 
Fields inherited from class com.devexperts.qd.tools.AbstractTool
options
 
Constructor Summary
Dump()
           
 
Method Summary
 java.util.List<java.io.Closeable> closeOnExit()
           
protected  void executeImpl(java.lang.String[] args)
          Executes this concrete tool.
protected  Option[] getOptions()
          Returns array with all options used by this tool.
static void main(java.lang.String[] args)
           
 java.util.List<MessageConnector> mustWaitWhileActive()
           
 
Methods inherited from class com.devexperts.qd.tools.AbstractTool
execute, generateHelpSummary, mustWaitForeverAtEnd, noArguments, wrongNumberOfArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dump

public Dump()
Method Detail

getOptions

protected Option[] getOptions()
Description copied from class: AbstractTool
Returns array with all options used by this tool.

Overrides:
getOptions in class AbstractTool
Returns:
array with all options used by this tool.

executeImpl

protected void executeImpl(java.lang.String[] args)
                    throws BadToolParametersException,
                           ToolInitializationException
Description copied from class: AbstractTool
Executes this concrete tool.

Specified by:
executeImpl in class AbstractTool
Parameters:
args - arguments
Throws:
BadToolParametersException - if arguments are invalid.
ToolInitializationException - if some error occurred.

mustWaitWhileActive

public java.util.List<MessageConnector> mustWaitWhileActive()
Overrides:
mustWaitWhileActive in class AbstractTool

closeOnExit

public java.util.List<java.io.Closeable> closeOnExit()
Overrides:
closeOnExit in class AbstractTool

main

public static void main(java.lang.String[] args)