Author: Steele Desmond - sdesmondemail@gmail.com
Version 1.0 - Assignment requirements implementation
This repository includes a tuple space implementation in java and a chat room to demonstrate usage of the tuple space. The chat room is simple to use and is console based. In the implementation, the only active user is the user that is currently being used.
Possible Commands:
'(cu)current user' -- Check which user you are currently logged in as
'(s)switch user' -- Switch to a different user. Enter the username of the user
'(m)get recent messages' -- Retrieve the last 10 messages posted in the chat room
'(a)get active users' -- Get a list of active users in the chat room
'(all)get all users' -- Get a list of all users in the chat room
'(pm)post message' -- Post a new message as the current user
'(nu)new user' -- Create a new user and log in as them
'(t)testing mode' -- Call the tuple space test classes
There is a simple tuple space, a more efficient tuple space, and a chat room that uses the tuple space.
There are tests for correctness and efficiency in the TupleSpaceTest class. When the chat room is ran, use the command (t) to run the tests.