To run the code:
- Compile the files by running the file "compilefiles.sh"
- Export the classpath using: export CLASSPATH=../externaljars/log4j-1.2.17.jar:.
- Run the code using: java StartMemListDaemon "introducerhostname"
Logfiles are stored in the file logfile.log in the same folder as the class files.
It should show you the following options
- X: On entering X, the localmachine leaves the group voluntarily
- D: Will display the current membershiplist once
- C: Will display the membershiplist periodically every 1s
- S: Will stop displaying the membership list