com.devexperts.qd.tools
Class SubscriptionBinParser

java.lang.Object
  extended by com.devexperts.qd.tools.AbstractTool
      extended by com.devexperts.qd.tools.SubscriptionBinParser
All Implemented Interfaces:
SymbolReceiver

@ToolSummary(info="Parses binary multiplexor subscription dumps and writes data as a text file.",
             argString="",
             arguments=" -- files to parse")
public class SubscriptionBinParser
extends AbstractTool
implements SymbolReceiver

Parses binary multiplexor subscription dumps and writes data as a text file.


Field Summary
 
Fields inherited from class com.devexperts.qd.tools.AbstractTool
options
 
Constructor Summary
SubscriptionBinParser()
           
 
Method Summary
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)
           
 void receiveSymbol(int cipher, java.lang.String symbol)
          Remembers specified cipher and symbol.
 
Methods inherited from class com.devexperts.qd.tools.AbstractTool
closeOnExit, execute, generateHelpSummary, mustWaitForeverAtEnd, mustWaitWhileActive, noArguments, wrongNumberOfArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionBinParser

public SubscriptionBinParser()
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.

receiveSymbol

public void receiveSymbol(int cipher,
                          java.lang.String symbol)
Description copied from interface: SymbolReceiver
Remembers specified cipher and symbol.

Specified by:
receiveSymbol in interface SymbolReceiver

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.

main

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