tapestry.impl
Class StaticTClient

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

public class StaticTClient
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF, ProfilableIF

A Tapestry client for statically configured networks.

Version:
$Id: StaticTClient.java,v 1.1.1.1 2004/03/26 19:57:05 hweather Exp $
Author:
Sean C. Rhea and Jeremy Stribling

Constructor Summary
StaticTClient()
           
 
Method Summary
protected  RoutingTable calc_routing_table()
           
 void destroy()
           
protected  void handle_node_guid(NodeGuid local_node_guid)
           
protected  void handle_stages_init_signal()
           
protected  void handle_static_all_nodes_msg(StaticAllNodesMsg msg)
           
protected  void handle_static_begin_msg(StaticBeginMsg msg)
           
protected  void handle_static_pang_msg(StaticPangMsg msg)
           
protected  void handle_static_ping_msg(StaticPingMsg msg)
           
protected  void handle_static_pong_msg(StaticPongMsg msg)
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
protected  void parse_all_pairs_pings(StaticAllNodesMsg msg)
           
 int profileSize()
           
protected  void round_trip_done(long recv_time, NodeId peer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticTClient

public StaticTClient()
Method Detail

handleEvents

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

destroy

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

profileSize

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

init

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

handle_stages_init_signal

protected void handle_stages_init_signal()

handle_node_guid

protected void handle_node_guid(NodeGuid local_node_guid)

handle_static_all_nodes_msg

protected void handle_static_all_nodes_msg(StaticAllNodesMsg msg)

parse_all_pairs_pings

protected void parse_all_pairs_pings(StaticAllNodesMsg msg)

handle_static_ping_msg

protected void handle_static_ping_msg(StaticPingMsg msg)

handle_static_pong_msg

protected void handle_static_pong_msg(StaticPongMsg msg)

handle_static_pang_msg

protected void handle_static_pang_msg(StaticPangMsg msg)

round_trip_done

protected void round_trip_done(long recv_time,
                               NodeId peer)

handle_static_begin_msg

protected void handle_static_begin_msg(StaticBeginMsg msg)
                                throws EventHandlerException
EventHandlerException

handleEvent

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

calc_routing_table

protected RoutingTable calc_routing_table()