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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FullTestMember
public FullTestMember()
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)