Class jTPCCTerminal

java.lang.Object
  extended byjTPCCTerminal
All Implemented Interfaces:
jTPCCConfig, java.lang.Runnable

public class jTPCCTerminal
extends java.lang.Object
implements jTPCCConfig, java.lang.Runnable


Field Summary
 
Fields inherited from interface jTPCCConfig
configCommitCount, configCustPerDist, configDistPerWhse, configItemCount, configWhseCount, dateFormat, defaultDatabase, defaultDebugMessages, defaultDeliveryWeight, defaultDriver, defaultMinutes, defaultNumTerminals, defaultNumWarehouses, defaultOrderStatusWeight, defaultPassword, defaultPaymentWeight, defaultRadioTime, defaultStockLevelWeight, defaultTransactionsPerTerminal, defaultUsername, DELIVERY, JTPCCVERSION, nameTokens, NEW_ORDER, ORDER_STATUS, OUTPUT_MESSAGES, PAYMENT, reportFilePrefix, STOCK_LEVEL, TERMINAL_MESSAGES, terminalPrefix
 
Constructor Summary
jTPCCTerminal(java.lang.String terminalName, int terminalWarehouseID, int terminalDistrictID, java.sql.Connection conn, int numTransactions, JOutputArea terminalOutputArea, JOutputArea errorOutputArea, boolean debugMessages, int paymentWeight, int orderStatusWeight, int deliveryWeight, int stockLevelWeight, int numWarehouses, jTPCC parent)
           
 
Method Summary
 void run()
           
 void stopRunningWhenPossible()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jTPCCTerminal

public jTPCCTerminal(java.lang.String terminalName,
                     int terminalWarehouseID,
                     int terminalDistrictID,
                     java.sql.Connection conn,
                     int numTransactions,
                     JOutputArea terminalOutputArea,
                     JOutputArea errorOutputArea,
                     boolean debugMessages,
                     int paymentWeight,
                     int orderStatusWeight,
                     int deliveryWeight,
                     int stockLevelWeight,
                     int numWarehouses,
                     jTPCC parent)
              throws java.sql.SQLException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

stopRunningWhenPossible

public void stopRunningWhenPossible()