Next: GossipConnection
Up: Common Components
Previous: MessageParser
  Contents
NetMeasure (and its child class, ServerMeasure) is responsible for
deciding to which server(s) the client (or server) should connect. It
measures the RTT between the host and every other server in the list
of servers and returns the ``best'' server (i.e. the one with the
lowest RTT). ServerMeasure also stores the RTT times so it can
calculate the minimum spanning tree of the network and is discussed in
more detail in section 3.3.3. NetMeasure is not synchronised
as a client has only one connection to a server and hence can only
receive updates to the server list in one thread.
Nathan Dimmock
2001-06-20