public class CalcStorm extends Object
| Constructor and Description | 
|---|
| CalcStorm(ClientProfile profile,
         Random random,
         int nClient,
         int nQuery,
         Calculator.SendMode sendMode)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(String[] args)Main method. | 
| void | run()Runs a lot of calculators at once all talking to each other. | 
| static int | runMain(String[] args)Does the work for the main method. | 
public CalcStorm(ClientProfile profile, Random random, int nClient, int nQuery, Calculator.SendMode sendMode)
profile - hub connection factoryrandom - random number generatornClient - number of clients to runnQuery - number of messages each client will sendsendMode - delivery pattern for messagespublic void run()
         throws IOException
TestException - if any tests failIOExceptionpublic static int runMain(String[] args) throws IOException
args - command-line argumentsIOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2008–2024. All rights reserved.