Skip to content

israkir/java-chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build/Compile $ make

Run server $ sudo java Server // (under bin/)

Run client $ java Client // (under bin/)

Functions Implemented

  1. Username validity check

    • No space allowed in username
    • Already-taken username cannot be taken again by another client
  2. Private messaging in a channel

    • so called $ /tell [username] command
  3. Ignore/Unignore user message

    • so called $ /ignore [username] & $ /unignore [username] commands
  4. Listing currently online users

    • Listing all users in the room (so called $ /listall command)
    • List all users in a specific channel (so called $ /list [channelname] command
  5. Logout

    • so called $ /quit command
    • Abnormal disconnect is also tolerated
  6. Multi-channel Support (so called $ /join [channelname] command)

    • Users can create channel if it does not exist
    • Users can join channel if it does exist
    • If a channel does not have user, it will be destroyed
  7. Server side debug messages

    • A user join the chatroom system : [user] login from [IP] @ [time]
    • A user leave the chatroom system : [user] logout @ [time]
    • A channel is created : channel [channel] is created by [user] @ [time]
    • A channel is destroyed : channel [channel] is destroyed by [user] @ [time]

About

multi-channel support chatroom project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages