ostore.tapestry.impl
Class FullTestMember

java.lang.Object
  |
  +--ostore.tapestry.impl.FullTestMember
All Implemented Interfaces:
EventHandlerIF, ProfilableIF

public class FullTestMember
extends Object
implements EventHandlerIF, ProfilableIF


Field Summary
 String class_tag
           
static int CONTROLLER_DRIVEN
           
 int currTest
           
 int failures
           
 long faults_begin_time
           
 long faults_end_time
           
 int interval
           
 int msg_num
           
 NodeId my_gateway
           
 int nodes_in_path
           
 int prev_seq
           
 int[] recover_seq
           
 int[] recover_time
           
 boolean sim_running
           
static int TRACE_DRIVEN
           
 
Constructor Summary
FullTestMember()
           
 
Method Summary
 void destroy()
           
 SecureHash genID()
          generates a random securehash based on the time
 void handle_fulltest(FullTestMsg msg)
           
 void handle_icmp_pong_msg(ostore.tapestry.channel.ICMPPongMsg msg)
           
 void handle_tapestry_detachconfirm()
           
 void handle_tapestry_locatefailure(TapestryLocateFailure msg)
           
 void handle_test_network(TestNetworkMsg msg)
           
 void handle_testfound(TestFoundMsg msg)
           
 void handle_testlocate(TestLocateMsg msg)
           
 void handle_testready(TestReadyMsg msg)
           
 void handle_timeoutevent(TimeOutEvent toe)
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
static String printGuid(SecureHash guid)
           
 void printtagln(String tag, String msg)
           
 int profileSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

class_tag

public String class_tag

TRACE_DRIVEN

public static final int TRACE_DRIVEN

CONTROLLER_DRIVEN

public static final int CONTROLLER_DRIVEN

faults_begin_time

public long faults_begin_time

faults_end_time

public long faults_end_time

failures

public int failures

recover_time

public int[] recover_time

recover_seq

public int[] recover_seq

msg_num

public int msg_num

interval

public int interval

prev_seq

public int prev_seq

sim_running

public boolean sim_running

currTest

public int currTest

nodes_in_path

public int nodes_in_path

my_gateway

public NodeId my_gateway
Constructor Detail

FullTestMember

public FullTestMember()
Method Detail

handleEvents

public void handleEvents(QueueElementIF[] items)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF

printtagln

public void printtagln(String tag,
                       String msg)

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF

handle_fulltest

public void handle_fulltest(FullTestMsg msg)

handle_testlocate

public void handle_testlocate(TestLocateMsg msg)

handle_icmp_pong_msg

public void handle_icmp_pong_msg(ostore.tapestry.channel.ICMPPongMsg msg)

handle_testfound

public void handle_testfound(TestFoundMsg msg)

handle_testready

public void handle_testready(TestReadyMsg msg)

handle_test_network

public void handle_test_network(TestNetworkMsg msg)

handle_timeoutevent

public void handle_timeoutevent(TimeOutEvent toe)

handle_tapestry_locatefailure

public void handle_tapestry_locatefailure(TapestryLocateFailure msg)

handle_tapestry_detachconfirm

public void handle_tapestry_detachconfirm()

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF

genID

public SecureHash genID()
generates a random securehash based on the time
Returns:
SecureHash generated from the current time

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF

profileSize

public int profileSize()
Specified by:
profileSize in interface ProfilableIF

printGuid

public static String printGuid(SecureHash guid)