Commands are case insensitive.
- Signup -
signup <username> <password>after which user is prompted to enter his name and roll number. - Login -
login <username> <password> - Join a group -
join <group_name> - Create a group -
create <group_name> - Send a message to a peer -
send <username> <msg> - Send message to a group -
sendgroup <group_name> <msg> - List all the groups -
list - Send a file -
send file <username> <filename>
Code is written follwing the object oriented style.Below is the class diagram depicting the same :
