Skip to content
This repository has been archived by the owner. It is now read-only.
Project 2 of COMP90015 Distributed Systems
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java
target
.gitignore
README.md
pom.xml

README.md

ActivityStreamer

COMP90015 Distributed Systems Project 2

The compiled .jar files are located in the target directory.

Requires JRE 8 or above.

ActivityStreamerServer

  • Run as the root (first server):

    java -jar ActivityStreamerServer.jar [-lh <localhost>] [-lp <local port>] [-a <activity interval>]
    
  • Connect to an existing server:

    java -jar ActivityStreamerServer.jar -s <secret> -rh <remote host> [-rp <remote port>] [-lh <localhost>] [-lp <local port>] [-a <activity interval>]
    

ActivityStreamerClient

  • Login as anonymous:

    java -jar ActivityStreamerClient.jar -rp <remote host> [-rp <remote port>]
    
  • Login with username and password:

    java -jar ActivityStreamerClient.jar -u <username> -s <secret> -rp <remote host> [-rp <remote port>]
    
  • Register a username:

    java -jar ActivityStreamerClient.jar -u <username> -rp <remote host> [-rp <remote port>]
    
You can’t perform that action at this time.