navigators.smart.tom.demo
Class ThroughputTestClient

java.lang.Object
  extended by navigators.smart.tom.TOMSender
      extended by navigators.smart.tom.demo.ThroughputTestClient
All Implemented Interfaces:
java.lang.Runnable, ReplyReceiver

public class ThroughputTestClient
extends TOMSender
implements java.lang.Runnable


Field Summary
private  int argSize
           
private  TOMConfiguration conf
           
private  CommunicationSystemClientSide cs
           
private  int currentId
           
private  int exec
           
private  int f
           
private  int id
           
private  int interval
           
private  int n
           
private  java.util.Hashtable sessionTable
           
 
Constructor Summary
ThroughputTestClient(int id, int exec, int argSize, int interval, TOMConfiguration conf)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void replyReceived(TOMMessage reply)
          This is the method invoked by the client side comunication system, and where the code to handle the reply is to be written
 void run()
           
 
Methods inherited from class navigators.smart.tom.TOMSender
getLastSequenceNumber, init, init, sign, TOMulticast, TOMulticast, TOMulticast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exec

private int exec

argSize

private int argSize

interval

private int interval

id

private int id

cs

private CommunicationSystemClientSide cs

f

private int f

n

private int n

currentId

private int currentId

sessionTable

private java.util.Hashtable sessionTable

conf

private TOMConfiguration conf
Constructor Detail

ThroughputTestClient

public ThroughputTestClient(int id,
                            int exec,
                            int argSize,
                            int interval,
                            TOMConfiguration conf)
Method Detail

run

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

main

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

replyReceived

public void replyReceived(TOMMessage reply)
Description copied from interface: ReplyReceiver
This is the method invoked by the client side comunication system, and where the code to handle the reply is to be written

Specified by:
replyReceived in interface ReplyReceiver
Parameters:
reply - The reply delivered by the client side comunication system