|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.devexperts.qd.tools.AbstractTool
com.devexperts.qd.tools.NetTest
@ToolSummary(info="Tests network throughput.", argString="", arguments={" public class NetTest-- either \'p\' (producer) or \'c\' (consumer)"," -- address to connect (see @link{address})"})
Tool that is used to test network throughput. It works either in producer or in consumer mode. It creates one or more connections to specified adress and transmit randomly generated 'Quote' records over it and counts number of produced/received quotes.
NetTestSide
Field Summary |
---|
Fields inherited from class com.devexperts.qd.tools.AbstractTool |
---|
options, useScheme |
Constructor Summary | |
---|---|
NetTest()
|
Method Summary | |
---|---|
protected void |
executeImpl(java.lang.String[] args)
Executes this concrete tool. |
protected com.devexperts.qd.tools.Option[] |
getOptions()
Returns array with all options used by this tool. |
static void |
main(java.lang.String[] args)
|
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 |
---|
public NetTest()
Method Detail |
---|
protected com.devexperts.qd.tools.Option[] getOptions()
AbstractTool
getOptions
in class AbstractTool
protected void executeImpl(java.lang.String[] args) throws BadToolParametersException, ToolInitializationException
AbstractTool
executeImpl
in class AbstractTool
args
- arguments
BadToolParametersException
- if arguments are invalid.
ToolInitializationException
- if some error occured.public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |