June 2006
This is the Readme file for the HyperCast ZIP archive of the HyperCast
package. The main software in this
archive are the Hypercast executables, which are stored in the file
"lib/hypercast.jar". In
addtion, the archive also contains example Java programs, scripts, an XML file
and a certificate. HyperCast
applications and utilities (e.g., RunControl) are not included in this archive,
and must be downloaded separately.
The ZIP archive for the binaries are usually distributed in a file with the name
hypercast-BINARIES-xxx-yyyymmdd.zip
where xxx is a tag that identifies who created the archive and yyyymmdd is the date when the archive was created. Copy the file to a directory where you want
to run HyperCast, and extract ('unzip') the
archive with a utility such as WinZip (on Windows) or the unzip command (on
Unix or Cygwin).
The contents of the archive is this file, XML configuration files, JAR
files, and command scripts.
Directories:
XML files:
Certificate:
Scripts:
The provided configuration file hypercast.xml is set to the default
configuration, which runs a a Delaunay Triangulation overlay topology (with
random coordinates, buddy list rendezvous, TCP socket adapter, UDP node
adapter). All configuration files can be edited using the Configuration Editor which is
started with the script conf.sh (or conf.bat), or by editing the XML files
directly. To build a configuration from
the hypercast.xml file, the following elements need *must* be changed:
/Public/OverlayID :
Enter a string for the overlay
identifier.
/Public/NodeAdapter/NodeAdptUDP/PhyAddr/INETV4AndTwoPorts :
/Public/Node/DTBuddyList/Buddy/UnderlayAddress/INETV4AndOnePort:
> javac -classpath ".;../lib/hypercast.jar;../lib/bcprov-jdk14-122.jar;../lib/xalan.jar" HelloWorld_CallBack.java
> java -classpath ".;../lib/hypercast.jar;../lib/bcprov-jdk14-122.jar;../lib/xalan.jar" HelloWorld_CallBack
The Unix scripts (*.sh) and DOS scripts (*.bat) that can help with starting the applications. If edited to your needs, running the scripts instead of the commands may increase the convenience of running experiments.
The
/bin directory contains scripts to run the Configuration Editor and to
run a program that diplays version information of HyperCast. The
scripts are executed as follows:
In Unix/CYGWIN:
In Windows, open an Explorer and click on the files ./bin/conf.bat and
./bin/version.bat.