bamboo.dht.fssim
Class BurstyClient

java.lang.Object
  extended by bamboo.util.RandomUtil
      extended by bamboo.dht.fssim.BurstyClient

public class BurstyClient
extends RandomUtil


Field Summary
 Algorithm alg
           
 int client
           
 long next_mode_switch
           
 long off_time
           
 boolean on
           
 Simulator.EventCb on_cb
           
 long on_time
           
 long period
           
 Random rand
           
 Simulator sim
           
 int size
           
 long stop_time
           
 int ttl_sec
           
 
Constructor Summary
BurstyClient(int client, long period, int size, int ttl_sec, long on_time, long off_time, long start, long stop_time, long seed)
           
 
Method Summary
 
Methods inherited from class bamboo.util.RandomUtil
random_exponential, random_gaussian
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

public int client

next_mode_switch

public long next_mode_switch

on

public boolean on

rand

public Random rand

sim

public Simulator sim

alg

public Algorithm alg

period

public long period

size

public int size

ttl_sec

public int ttl_sec

on_time

public long on_time

off_time

public long off_time

stop_time

public long stop_time

on_cb

public Simulator.EventCb on_cb
Constructor Detail

BurstyClient

public BurstyClient(int client,
                    long period,
                    int size,
                    int ttl_sec,
                    long on_time,
                    long off_time,
                    long start,
                    long stop_time,
                    long seed)