|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
Members | Undocumented Interface Declaration. |
Class Summary | |
TreeSTPDataPacket | The STPDataPacket defines the format of data packets in STP. |
TRAM tree-building simulator.
The TreeTest package is a simple GUI application that simulates a a set of network nodes building a TRAM repair tree. TreeTest can be invoked with a configuration file as an argument, or the user can manually add nodes. Once the nodes are in place, TRAM may be started. Multicast messages are displayed on the screen as expanding circles. It is recommended that this display be turned off when simulating large numbers of nodes, since it takes up extra processing time.
java com.sun.multicast.reliable.applications.tree.TreeTest [config-file]
Configuration Files
The TreeTest configuration files provide an alternative to manually placing nodes on the screen and manually adjusting the controlling parameters. Configuration files are specified as "filename.tcf". Each line of the file consists of a node type (S for sender, H for repair head, R for reluctant repair head, and M for member), followed by its coordinates on the screen. Nodes can be co-located on the same local area network by using the 'L' parameter on the lines before and after the co-located node specifications. If a configuration file is specified, TreeTest will also look for it companion parameter (.tpr) file, which specifies values for various TRAM parameters. TreeTest uses the Java Properties class to parse .tpr files. Therefore, the file format is a sequence of lines of ASCII text of the form propertyName=value.
Here are some sample files:
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.